Professional Documents
Culture Documents
Untitled Document 1
Untitled Document 1
//
// .text
// SHT_PROGBITS [0x1400 - 0x2011]
// ram:00101400-ram:00102011
//
**************************************************************
* *
*
FUNCTION *
**************************************************************
undefined FUN_00101400()
undefined AL:1 <RETURN>
undefined8 Stack[-0x40]:8 local_40
XREF[2]: 00101421(W),
00101640(R)
undefined1 Stack[-0x118 local_118
XREF[1]: 00101534(*)
undefined4 Stack[-0x148 local_148
XREF[1]: 0010162b(R)
undefined4 Stack[-0x168 local_168
XREF[2]: 001015f6(*),
0010161b(R)
undefined1 Stack[-0x170 local_170
XREF[2]: 0010145f(W),
0010148d(R)
undefined8 Stack[-0x178 local_178
XREF[1]: 00101466(W)
undefined8 Stack[-0x188 local_188
XREF[3]: 00101449(*),
00101455(W),
00101634(R)
undefined8 Stack[-0x190 local_190
XREF[4]: 0010147e(W),
001014ef(R),
00101550(R),
0010158d(R)
undefined8 Stack[-0x198 local_198
XREF[4]: 00101494(W),
001014f5(R),
0010154a(R),
00101587(R)
FUN_00101400
XREF[4]: entry:00101701(*), 001031d4,
0010339c(*),
_elfSectionHeaders::00000410(*)
00101400 f3 0f 1e fa ENDBR64
File: Untitled Document 1 Page 2 of 7
00 00 00
00101541 74 07 JZ LAB_0010154a
00101543 48 81 c4 ADD RSP,0x193300
00 33 19 00
LAB_0010154a
XREF[1]: 00101541(j)
0010154a 8b b5 70 MOV ESI,dword ptr [RBP + local_198]
fe ff ff
00101550 8b bd 78 MOV EDI,dword ptr [RBP + local_190]
fe ff ff
00101556 e8 65 fd CALL
<EXTERNAL>::al_create_bitmap undefined al_create_bitmap()
ff ff
0010155b 49 89 c6 MOV R14,RAX
0010155e 48 85 c0 TEST RAX,RAX
00101561 0f 84 3d JZ LAB_001016a4
01 00 00
00101567 48 89 c7 MOV RDI,RAX
0010156a e8 c1 fc CALL
<EXTERNAL>::al_set_target_bitmap undefined al_set_target_bitmap()
ff ff
0010156f 31 f6 XOR ESI,ESI
00101571 ba 02 00 MOV EDX,0x2
00 00
00101576 4c 89 f7 MOV RDI,R14
00101579 e8 92 fd CALL
<EXTERNAL>::al_lock_bitmap undefined al_lock_bitmap()
ff ff
0010157e 48 85 c0 TEST RAX,RAX
00101581 0f 84 11 JZ LAB_00101698
01 00 00
00101587 8b 8d 70 MOV ECX,dword ptr [RBP + local_198]
fe ff ff
0010158d 8b 95 78 MOV EDX,dword ptr [RBP + local_190]
fe ff ff
00101593 4c 89 ee MOV RSI,R13
00101596 4c 89 f7 MOV RDI,R14
00101599 e8 b2 03 CALL
FUN_00101950 undefined FUN_00101950()
00 00
0010159e 4c 89 f7 MOV RDI,R14
001015a1 e8 ea fd CALL
<EXTERNAL>::al_unlock_bitmap undefined al_unlock_bitmap()
ff ff
001015a6 48 8b 3d MOV RDI,qword ptr [DAT_00105030]
83 3a 00 00
001015ad e8 6e fd CALL
<EXTERNAL>::al_set_target_backbuffer undefined al_set_target_backbuff
ff ff
001015b2 e8 b9 fd CALL
<EXTERNAL>::al_create_event_queue undefined al_create_event_queue()
ff ff
001015b7 49 89 c5 MOV R13,RAX
001015ba 48 85 c0 TEST RAX,RAX
001015bd 0f 84 c9 JZ LAB_0010168c
00 00 00
001015c3 48 8b 3d MOV RDI,qword ptr [DAT_00105030]
66 3a 00 00
001015ca e8 e1 fc CALL
<EXTERNAL>::al_get_display_event_source undefined al_get_display_event_s
ff ff
001015cf 4c 89 ef MOV RDI,R13
File: Untitled Document 1 Page 5 of 7
001014b6(j)
00101663 48 8d 3d LEA RDI,[s_Reading_header_failed!
_00103046] = "Reading header failed!"
dc 19 00 00
0010166a e8 11 02 CALL
FUN_00101880 undefined FUN_00101880()
00 00
LAB_0010166f
XREF[1]: 00101443(j)
0010166f 48 8d 3d LEA RDI,[s_(f_=_fopen(argv[1],_"rb"))_!
=_nu_001030 = "(f = fopen(argv[1], \"rb\"))
3a 1a 00 00
00101676 e8 d5 01 CALL
FUN_00101850 undefined FUN_00101850()
00 00
LAB_0010167b
XREF[1]: 0010142a(j)
0010167b 48 8d 3d LEA RDI,[s_Missing_argument!
_00103031] = "Missing argument!"
af 19 00 00
00101682 e8 f9 01 CALL
FUN_00101880 undefined FUN_00101880()
00 00
LAB_00101687
XREF[1]: 0010164d(j)
00101687 e8 c4 fc CALL
<EXTERNAL>::__stack_chk_fail undefined __stack_chk_fail()
ff ff
-- Flow Override: CALL_RETURN (CALL_TERMINATOR)
LAB_0010168c
XREF[1]: 001015bd(j)
0010168c 48 8d 3d LEA RDI,
[s_(event_queue_=_al_create_event_q_001031 = "(event_queue = al_create_even
f5 1a 00 00
00101693 e8 b8 01 CALL
FUN_00101850 undefined FUN_00101850()
00 00
LAB_00101698
XREF[1]: 00101581(j)
00101698 48 8d 3d LEA RDI,
[s_al_lock_bitmap(bmp,_ALLEGRO_PIXE_001031 = "al_lock_bitmap(bmp, ALLEGRO_P
a1 1a 00 00
0010169f e8 ac 01 CALL
FUN_00101850 undefined FUN_00101850()
00 00
LAB_001016a4
XREF[1]: 00101561(j)
001016a4 48 8d 3d LEA RDI,
[s_bmp_=_al_create_bitmap(img_size__001031 = "bmp = al_create_bitmap(img_si
65 1a 00 00
001016ab e8 a0 01 CALL
FUN_00101850 undefined FUN_00101850()
00 00
LAB_001016b0
XREF[1]: 0010150d(j)
001016b0 48 8d 3d LEA RDI,
File: Untitled Document 1 Page 7 of 7