Function at 0x6473fa20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [esp + 0x98], sym.allegro_5.0.10_monolith_mt.dll__dumb_sigtype_it
mov edx, dword [esp + 0x130]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x11
lea esi, [esp + 0x9c]
mov dword [esp + 0x38], esi
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
cmp eax, 0x10
jle 0x6473fe70
mov byte [esp + 0xad], 0
mov edi, str.Extended_Module:
mov ecx, 0x12
mov esi, dword [esp + 0x38]
repe cmpsb byte [esi], byte es:[edi]
jne 0x6473fe70
mov dword [esp], 0xe8
call fcn.647d4284
mov dword [esp + 0x4c], eax
test eax, eax
je 0x6473fe70
mov edx, dword [esp + 0x130]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x14
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
cmp eax, 0x13
mov eax, dword [esp + 0x4c]
jle 0x6473fe9c
mov byte [eax + 0x14], 0
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
cmp eax, 0x1a
jne 0x6473fe80
mov dword [esp + 4], 0x14
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
test eax, eax
jne 0x6473fe80
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
cmp eax, 0x104
jne 0x6473fe80
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
cmp eax, 0x114
mov eax, dword [esp + 0x4c]
jne 0x6473fe9c
mov dword [eax + 0x20], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0x2c], 0
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov byte [ecx + 0xd0], al
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x30], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x28], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x40], eax
test eax, eax
je 0x6473fe90
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x44], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x24]
test ebx, ebx
jle 0x6473fe64
cmp ebx, 0x100
jg 0x6473fe64
cmp dword [eax + 0x30], 0x100
jg 0x6473fe64
cmp dword [eax + 0x28], 0x80
jg 0x6473fe64
cmp dword [esp + 0x48], 0x40
jg 0x6473fe64
mov dword [esp], ebx
call fcn.647d4284
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xcc], eax
test eax, eax
je 0x64740aa8
mov edx, dword [esp + 0x130]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
mov eax, 0x100
mov ecx, dword [esp + 0x4c]
sub eax, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
mov eax, dword [esp + 0x4c]
jne 0x6473fe68
mov esi, dword [eax + 0x30]
lea ebx, [esi + esi*2]
shl ebx, 2
mov dword [esp], ebx
call fcn.647d4284
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xdc], eax
test eax, eax
je 0x64740ba8
add ebx, eax
test esi, esi
jle 0x64740c0c
nop
mov dword [eax + 8], 0
add eax, 0xc
cmp eax, ebx
jne 0x6473fd28
imul esi, dword [esp + 0x48], 0x500
mov dword [esp + 0x60], esi
mov dword [esp], esi
call fcn.647d4284
mov ebp, eax
test eax, eax
je 0x6473fe64
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0xdc]
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
cmp eax, 9
jne 0x6473fe5c
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
test eax, eax
jne 0x6473fe5c
mov ecx, dword [esp + 0x54]
lea eax, [ecx + ecx*2]
lea esi, [ebx + eax*4]
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov dword [esi], eax
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov dword [esp + 0x44], eax
mov dword [esi + 4], 0
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe5c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x6473ffea
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x60], eax
jl 0x6473fe5c
mov edx, dword [esp + 0x130]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
cmp dword [esp + 0x44], eax
jg 0x6473fe5c
mov dword [esi + 4], 0
xor edi, edi
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x6473febc
xor edx, edx
xor eax, eax
jmp 0x6473fe4b
inc dword [esi + 4]
inc edx
cmp dword [esp + 0x48], edx
jg 0x6473fe3c
inc edi
inc dword [esi + 4]
xor edx, edx
mov cl, byte [ecx]
test cl, cl
js 0x6473fea8
add eax, 5
cmp dword [esp + 0x44], eax
jle 0x6473febc
lea ecx, [ebp + eax]
mov bl, byte [ecx]
test bl, bl
jns 0x6473fe2c
and ebx, 0x1f
je 0x6473fe2f
jmp 0x6473fe2c
mov dword [esp], ebp
call fcn.647d4274
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll__dumb_it_unload_sigdata
xor eax, eax
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.647d4274
jmp 0x6473fe70
mov dword [ecx + 0x40], 6
jmp 0x6473fc21
mov dword [esp], eax
call fcn.647d4274
jmp 0x6473fe70
and ecx, 0x1f
movsx ecx, byte [ecx + 0x64814500]
lea eax, [eax + ecx + 1]
cmp dword [esp + 0x44], eax
jg 0x6473fe4b
cmp edi, dword [esi]
jne 0x6473fe5c
mov edx, dword [esi + 4]
lea eax, [edx*8]
sub eax, edx
mov dword [esp], eax
call fcn.647d4284
mov ebx, eax
mov dword [esi + 8], eax
test eax, eax
je 0x6473fe5c
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x6473ffea
xor edi, edi
xor esi, esi
mov dword [esp + 0x3c], edi
mov edi, ebp
jmp 0x6473ff9c
mov dl, byte [esp + 0x3c]
mov byte [ebx], dl
mov byte [ebx + 1], 0
mov cl, 0x10
mov byte [esp + 0x50], 8
mov byte [esp + 0x40], 4
mov dl, 2
mov al, byte [ebp]
inc esi
cmp al, 0x61
je 0x64740238
dec eax
mov byte [ebx + 2], al
mov byte [ebx + 1], 1
mov al, 3
mov ebp, 1
test dl, dl
je 0x6473ff3f
mov dl, byte [edi + esi]
mov byte [ebx + 3], dl
inc esi
mov byte [ebx + 1], al
mov ebp, eax
cmp byte [esp + 0x40], 0
jne 0x64740208
cmp byte [esp + 0x50], 0
je 0x64740200
movzx eax, byte [edi + esi]
inc esi
test cl, cl
je 0x647401f8
movzx edx, byte [edi + esi]
inc esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll__dumb_it_xm_convert_effect
add ebx, 7
inc dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x48], ecx
jg 0x6473ff96
mov byte [ebx], 0xff
add ebx, 7
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x44], esi
jle 0x6473ffe8
lea ebp, [edi + esi]
mov al, byte [ebp]
test al, al
jns 0x6473fefc
inc esi
test al, 0x1f
je 0x6473ff7a
mov cl, byte [esp + 0x3c]
mov byte [ebx], cl
mov byte [ebx + 1], 0
test al, 1
jne 0x64740c2b
mov dl, al
and edx, 2
mov cl, al
and ecx, 4
mov byte [esp + 0x40], cl
mov cl, al
and ecx, 8
mov byte [esp + 0x50], cl
mov cl, al
and ecx, 0x10
mov al, 2
xor ebp, ebp
jmp 0x6473ff2f
mov ebp, edi
inc dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
cmp edx, dword [eax + 0x30]
jl 0x6473fd60
mov dword [esp], ebp
call fcn.647d4274
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x28]
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*4]
shl eax, 3
sub eax, ebx
shl eax, 2
mov dword [esp], eax
call fcn.647d4284
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xd4], eax
test eax, eax
je 0x64740aa8
mov dword [edx + 0xd8], 0
test ebx, ebx
jle 0x64740ab5
mov dword [esp + 0x74], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x78], 0
lea esi, [esp + 0xe0]
mov dword [esp + 0x34], esi
mov ebp, dword [esp + 0x130]
mov ebx, dword [esp + 0x74]
add ebx, eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
mov dword [esp + 0x50], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x16
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
mov byte [ebx + 0x16], 0
mov byte [ebx + 0x1b], 0
mov dword [esp + 4], 1
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov dword [esp + 0x3c], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
cmp dword [esp + 0x3c], 0x10
ja 0x6473fe64
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x64740553
lea edx, [ebx + 0x1aa]
shl edx, 0x1e
shr edx, 0x1f
je 0x64740c4f
mov word [ebx + 0x1aa], 0
mov edi, 0x5f
mov eax, 1
mov ecx, 0x60
sub ecx, edx
mov dword [esp + 0x48], ecx
shr ecx, 1
mov esi, ecx
shl esi, 1
mov dword [esp + 0x40], esi
je 0x6474014a
add edx, 0xd5
lea esi, [ebx + edx*2]
xor edx, edx
nop
mov dword [esi + edx*4], 0
inc edx
cmp ecx, edx
ja 0x6474012c
add eax, dword [esp + 0x40]
sub edi, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x48], edx
je 0x6474015b
add edi, eax
mov word [ebx + eax*2 + 0x1aa], 0
inc eax
cmp eax, edi
jne 0x6474014c
mov eax, 0x1d
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
test eax, eax
jne 0x6473fe64
mov byte [ebx + 0x126], 0
mov byte [ebx + 0x127], 0
mov byte [ebx + 0x128], 0
mov byte [ebx + 0x129], 0
mov byte [ebx + 0x12a], 0x3c
mov byte [ebx + 0x12b], pe_nt_image_headers32
mov byte [ebx + 0x12c], 0x20
mov byte [ebx + 0x12d], 0
mov byte [ebx + 0x12e], 0
mov byte [ebx + 0x12f], 0
mov byte [ebx + 0x130], 0
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x6474023f
inc dword [esp + 0x78]
add dword [esp + 0x74], 0x29c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
cmp ecx, dword [eax + 0x28]
jge 0x64740ac1
mov eax, dword [eax + 0xd4]
jmp 0x64740072
xor edx, edx
jmp 0x6473ff67
xor eax, eax
jmp 0x6473ff5a
movzx eax, byte [edi + esi]
mov byte [ebx + 4], al
inc esi
mov edx, ebp
or edx, 4
mov byte [ebx + 1], dl
mov edx, eax
sar edx, 4
jmp dword [edx*4 + 0x648144b8]
mov edx, ebp
mov byte [ebx + 1], dl
jmp case.default.0x6474021d
mov al, 0xff
jmp 0x6473ff21
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
add edx, dword [eax + 0xd4]
mov ecx, dword [esp + 0x44]
xor eax, eax
nop
add word [edx + eax*2 + 0x1aa], cx
inc eax
cmp eax, 0x60
jne 0x64740254
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x3c]
mov dword [esp + 0x7c], esi
lea ebx, [esi + esi*4]
shl ebx, 4
mov eax, dword [esp + 0x4c]
mov edi, dword [eax + 0xd8]
test edi, edi
je 0x64740b86
test ebx, ebx
je 0x64740a74
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.647d43c4
test eax, eax
je 0x64740a74
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xd8], eax
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x7c], ecx
jle 0x647402d1
lea edx, [ecx + ecx*4]
shl edx, 4
lea edx, [eax + edx + 0x4c]
lea eax, [eax + ebx + 0x4c]
mov dword [edx], 0
add edx, 0x50
cmp edx, eax
jne 0x647402c4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x647409b0
mov esi, dword [esp + 0x44]
lea esi, [esi + esi*4]
shl esi, 4
mov dword [esp + 0x58], esi
lea edx, [esp + 0xe0]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
jmp 0x647403c5
mov esi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x38]
mov edi, ecx
xor ecx, ecx
mov byte [esp + 0x54], 5
mov dl, 1
mov dword [esp + 0x60], 1
test byte [esp + 0x40], 0x20
je 0x6474034e
mov dl, byte [esp + 0x54]
mov byte [ebx + 0x2b], dl
sar edi, 1
mov dword [ebx + 0x30], edi
sar esi, 1
mov dword [ebx + 0x34], esi
sar eax, 1
mov dword [ebx + 0x38], eax
mov ecx, dword [esp + 0x60]
and ecx, dword [esp + 0x48]
cmp esi, eax
jae 0x64740370
test byte [esp + 0x40], 1
je 0x64740363
or edx, 0x10
mov byte [ebx + 0x2b], dl
test byte [esp + 0x40], 2
je 0x64740370
or edx, 0x50
mov byte [ebx + 0x2b], dl
test edi, edi
jle 0x64740548
cmp eax, edi
ja 0x64740380
cmp esi, eax
jb 0x64740386
and edx, 0xffffffef
mov byte [ebx + 0x2b], dl
mov edx, dword [esp + 0x3c]
mov byte [edx], cl
mov cl, byte [esp + 0x68]
mov byte [ebx + 0x48], cl
mov al, byte [esp + 0x6c]
mov byte [ebx + 0x49], al
mov dl, byte [esp + 0x70]
mov byte [ebx + 0x4a], dl
mov ecx, dword [esp + 0x64]
mov cl, byte [ecx + 0x648144f8]
mov byte [ebx + 0x4b], cl
add dword [esp + 0x44], 0x50
inc dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0x3c], esi
je 0x64740828
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ebx, dword [eax + 0xd8]
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
mov dword [ebx + 0x30], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
mov esi, eax
mov dword [ebx + 0x34], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
add esi, eax
mov dword [ebx + 0x38], esi
mov byte [ebx + 0x2c], 0x40
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x2d], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
movsx esi, al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov dword [esp + 0x40], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x2e], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov edi, eax
mov dword [esp + 4], 1
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x16
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getnc
mov byte [ebx + 0x16], 0
mov byte [ebx + 0x1d], 0
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
mov edx, edi
movsx di, dl
mov word [esp + 0x8e], di
fild word [esp + 0x8e]
fstp qword [esp + 8]
mov dword [esp], 0x92d97963
mov dword [esp + 4], 0x3ff0f38f
call fcn.647d446c
shl esi, 1
mov dword [esp + 0x88], esi
fild dword [esp + 0x88]
fstp qword [esp + 8]
mov dword [esp], 0x9ef55d71
mov dword [esp + 4], 0x3ff000ec
fstp qword [esp + 0x20]
call fcn.647d446c
fld qword [esp + 0x20]
fmul dword [0x64814520]
fmulp st(1)
fnstcw word [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov ah, 0xc
mov word [esp + 0x86], ax
fldcw word [esp + 0x86]
fistp dword [ebx + 0x3c]
fldcw word [esp + 0x8c]
mov byte [ebx + 0x2b], 1
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x48], ecx
test byte [esp + 0x40], 0x10
je 0x64740314
mov edi, ecx
mov byte [ebx + 0x2b], 3
sar edi, 1
mov dword [ebx + 0x30], edi
mov esi, dword [ebx + 0x34]
sar esi, 1
mov dword [ebx + 0x34], esi
mov eax, dword [ebx + 0x38]
sar eax, 1
mov dword [ebx + 0x38], eax
mov ecx, 1
mov byte [esp + 0x54], 7
mov dl, 3
mov dword [esp + 0x60], 3
jmp 0x6474032d
and edx, 0xfffffffe
mov byte [ebx + 0x2b], dl
jmp 0x64740386
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetl
cmp eax, 0x28
jne 0x6473fe64
xor esi, esi
mov eax, esi
mov esi, ebx
mov ebx, eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
inc eax
mov word [esi + ebx*2 + 0x1aa], ax
mov byte [esi + ebx + 0x131], bl
inc ebx
cmp ebx, 0x60
jne 0x6474056c
mov ebx, esi
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6474023f
lea esi, [esp + 0xb0]
nop
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov word [esi], ax
add esi, 2
cmp esi, dword [esp + 0x34]
jne 0x647405a4
lea edi, [esp + 0xe0]
lea esi, [esp + 0x110]
nop
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
mov word [edi], ax
add edi, 2
cmp edi, esi
jne 0x647405c8
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x31], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x83], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x34], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x32], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x33], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x86], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x84], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x85], al
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x30], 0
test al, 1
je 0x64740a55
cmp byte [ebx + 0x31], 0
je 0x64740a55
mov byte [ebx + 0x30], 1
mov cl, 3
mov dl, 1
test al, 4
je 0x6474067d
mov byte [ebx + 0x30], cl
mov dl, cl
test al, 2
je 0x64740687
or edx, 4
mov byte [ebx + 0x30], dl
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov byte [ebx + 0x82], 0
test al, 1
je 0x64740a4c
cmp byte [ebx + 0x83], 0
je 0x64740a4c
mov byte [ebx + 0x82], 1
mov cl, 3
mov dl, 1
test al, 4
je 0x647406c2
mov byte [ebx + 0x82], cl
mov dl, cl
test al, 2
je 0x647406cf
or edx, 4
mov byte [ebx + 0x82], dl
lea esi, [ebx + 0x30]
mov al, byte [ebx + 0x31]
cmp al, 0xc
ja 0x64740a5e
movzx edi, al
test edi, edi
je 0x6474072e
mov eax, dword [esp + 0xb0]
mov word [ebx + 0x50], ax
mov cx, word [esp + 0xb2]
cmp cx, 0x40
ja 0x64740a5e
lea edx, [esp + 0xb4]
xor eax, eax
jmp 0x64740725
mov cx, word [edx]
mov word [esi + eax*2 + 0x20], cx
add edx, 4
mov cx, word [edx - 2]
cmp cx, 0x40
ja 0x64740a5e
mov byte [esi + eax + 6], cl
inc eax
cmp eax, edi
jne 0x6474070c
lea esi, [ebx + 0x82]
mov al, byte [ebx + 0x83]
cmp al, 0xc
ja 0x64740a8f
movzx edi, al
test edi, edi
je 0x64740799
mov eax, dword [esp + 0xe0]
mov word [ebx + 0xa2], ax
mov cx, word [esp + 0xe2]
cmp cx, 0x40
ja 0x64740a8f
lea edx, [esp + 0xe4]
xor eax, eax
jmp 0x6474078d
mov cx, word [edx]
mov word [esi + eax*2 + 0x20], cx
add edx, 4
mov cx, word [edx - 2]
cmp cx, 0x40
ja 0x64740a8f
sub ecx, 0x20
mov byte [esi + eax + 6], cl
inc eax
cmp eax, edi
jne 0x64740774
mov byte [ebx + 0xd4], 0
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov dword [esp + 0x64], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov dword [esp + 0x70], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov dword [esp + 0x6c], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov dword [esp + 0x68], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
cmp dword [esp + 0x64], 3
jg 0x6473fe64
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
shl eax, 7
lea ecx, [eax + 0x40]
mov eax, 0x80080081
imul ecx
lea eax, [ecx + edx]
sar eax, 0xb
sar ecx, 0x1f
sub eax, ecx
mov dword [ebx + 0x2c], eax
mov dword [esp + 4], 2
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov eax, 0xf3
jmp 0x64740160
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x50]
mov cl, byte [ecx]
mov byte [esp + 0x60], cl
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
add ebx, dword [eax + 0xd8]
mov al, byte [ebx + 0x2b]
test al, 1
je 0x647409e5
test al, 0x10
jne 0x647409c0
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x54], 0
mov dl, al
and edx, 4
cmp dl, 1
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x40], ecx
imul ecx, esi
mov dword [esp + 0x44], ecx
test al, 2
je 0x64740bb5
mov eax, dword [esp + 0x44]
shl eax, 1
mov dword [esp], eax
call fcn.647d4284
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x6473fe64
test esi, esi
jle 0x647408ec
mov esi, dword [esp + 0x40]
shl esi, 1
mov dword [esp + 0x48], esi
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x40], esi
mov edi, eax
jmp 0x647408bb
mov edi, dword [ebx + 0x4c]
add edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
add esi, eax
mov word [edi], si
inc ebp
mov ecx, dword [esp + 0x48]
add dword [esp + 0x40], ecx
cmp ebp, dword [ebx + 0x30]
jl 0x647408b8
mov al, byte [ebx + 0x2b]
and eax, 2
test al, al
je 0x647409dc
mov eax, dword [esp + 0x54]
shl eax, 1
mov dword [esp + 4], eax
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov al, byte [ebx + 0x2b]
test al, 4
je 0x6474096c
test al, 2
jne 0x64740a04
cmp dword [esp + 0x44], 1
jle 0x64740958
xor ebp, ebp
mov edi, 1
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x3c]
lea esi, [esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [ecx + 0x4c]
add esi, edi
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
add ebx, eax
mov byte [esi], bl
add edi, 2
cmp dword [esp + 0x44], edi
jg 0x6474092c
mov ebx, dword [esp + 0x40]
test byte [ebx + 0x2b], 2
je 0x64740958
shl dword [esp + 0x54], 1
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
movzx eax, byte [esp + 0x60]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_error
test eax, eax
jne 0x6473fe64
inc dword [esp + 0x50]
add dword [esp + 0x58], 0x50
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x50], edx
jne 0x6474082c
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], ecx
jmp 0x647401cf
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x30]
cmp edx, esi
jge 0x64740a3f
sub esi, edx
mov dword [esp + 0x54], esi
mov dword [ebx + 0x30], edx
mov esi, edx
jmp 0x64740862
mov eax, dword [esp + 0x54]
jmp 0x647408f2
movzx eax, cl
mov dword [esp + 4], eax
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_skip
test eax, eax
je 0x64740995
jmp 0x6473fe64
cmp dword [esp + 0x44], 1
jle 0x64740954
xor edi, edi
mov esi, 1
mov ebp, ebx
mov eax, dword [ebp + 0x4c]
lea ebx, [eax + esi*2]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_igetw
add edi, eax
mov word [ebx], di
add esi, 2
cmp dword [esp + 0x44], esi
jg 0x64740a18
mov ebx, ebp
jmp 0x6474094e
mov dword [esp + 0x54], 0
jmp 0x64740862
mov cl, 2
xor edx, edx
jmp 0x647406b6
mov cl, 2
xor edx, edx
jmp 0x64740674
mov byte [ebx + 0x31], 0
test byte [ebx + 0x30], 1
je 0x6474072e
jmp 0x6473fe64
mov dword [esp], edi
call fcn.647d4274
mov eax, dword [esp + 0x4c]
mov dword [eax + 0xd8], 0
jmp 0x6473fe68
mov byte [ebx + 0x83], 0
test byte [ebx + 0x82], 1
je 0x64740799
jmp 0x6473fe64
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll__dumb_it_unload_sigdata
jmp 0x6473fe70
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x34], 0x75
test byte [esp + 0x80], 1
je 0x64740ae4
mov dword [eax + 0x34], 0x7d
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x38], pe_nt_image_headers32
mov dword [eax + 0x3c], 0x30
mov dword [eax + 0x48], pe_nt_image_headers32
mov edx, eax
add edx, 0x8c
mov ecx, 0x40
mov al, 0x40
mov edi, edx
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x4c]
add edx, 0x4c
mov cl, 0x40
mov al, 0x20
mov edi, edx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll__dumb_it_fix_invalid_orders
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], 0x648144b2
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
lea edx, [esp + 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], 0xffffffff
call sym.allegro_5.0.10_monolith_mt.dll_make_duh
jmp 0x6473fe72
mov dword [esp], ebx
call fcn.647d4284
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xd8], eax
test eax, eax
jne 0x647402ac
jmp 0x6473fe64
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll__dumb_it_unload_sigdata
jmp 0x6473fe70
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.647d4284
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x6473fe64
test esi, esi
jle 0x647409dc
xor esi, esi
xor edx, edx
xor ebp, ebp
mov edi, eax
jmp 0x64740be3
mov edi, dword [ebx + 0x4c]
add edi, esi
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 0x20], edx
call sym.allegro_5.0.10_monolith_mt.dll_dumbfile_getc
mov edx, dword [esp + 0x20]
add edx, eax
mov byte [edi], dl
inc ebp
add esi, dword [esp + 0x40]
cmp ebp, dword [ebx + 0x30]
jl 0x64740be0
jmp 0x647408de
imul eax, dword [esp + 0x48], 0x500
mov dword [esp], eax
call fcn.647d4284
mov ebp, eax
test eax, eax
jne 0x6473ffff
jmp 0x6473fe64
lea ebp, [edi + esi]
mov dl, al
and edx, 2
mov cl, al
and ecx, 4
mov byte [esp + 0x40], cl
mov cl, al
and ecx, 8
mov byte [esp + 0x50], cl
mov cl, al
and ecx, 0x10
jmp 0x6473ff14
mov edi, 0x60
xor eax, eax
jmp 0x64740108