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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72a700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push 1
mov esi, ecx
call fcn.004d6230
test eax, eax
jne 0x64bf15
movzx eax, byte [ebp + 8]
dec eax
je 0x64bc0f
dec eax
je 0x64bb7d
sub eax, 2
jne 0x64bf15
push 8
mov ecx, esi
call fcn.004d6720
mov ecx, esi
mov byte [esp + 0x10], al
call fcn.004d66f0
mov esi, eax
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed530
test eax, eax
je 0x64bf15
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x64bf15
test esi, esi
je 0x64bb5a
mov edx, dword [esp + 0x10]
push edx
call fcn.00605380
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.006053a0
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10
mov ecx, esi
call fcn.004d6750
push 0x20
push 0x3f800000
mov ecx, esi
mov edi, eax
call fcn.004d67b0
fstp dword [esp + 0x20]
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x24]
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x28]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
call fcn.005ed530
test eax, eax
je 0x64bf15
mov ecx, dword [esp + 0x20]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x48]
push edi
call fcn.00604c90
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 4]
call fcn.005ed530
test eax, eax
je 0x64bf0e
mov edi, dword [eax + 0x48]
test edi, edi
mov eax, dword [eax + 0x40]
mov dword [esp + 0x14], eax
je 0x64bf0e
test eax, eax
je 0x64bf0e
mov eax, dword [edi + 0x104]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.005ed570
mov ecx, eax
call fcn.004d81a0
lea ecx, [esp + 0x30]
call fcn.005b3190
push 8
mov ecx, esi
mov dword [esp + 0x70], 0
call fcn.004d6720
mov bl, al
cmp bl, 1
jne 0x64bcab
push 0x20
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.004d67e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], bl
call fcn.005e5c50
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.005e5c20
lea ecx, [esp + 0x20]
call fcn.005b3190
test bl, bl
mov byte [esp + 0x6c], 2
jne 0x64bcdf
mov ecx, dword [0x7a3a28]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 0x24]
call fcn.006fc447
add ebx, 0xfffffffe
cdq
idiv ebx
mov ebx, edx
add bl, 2
cmp bl, 1
jne 0x64bcea
lea ecx, [esp + 0x30]
jmp 0x64bd32
push str.BMPResRef
lea ecx, [esp + 0x3c]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
movzx ecx, bl
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x78], 3
call fcn.00413270
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 2
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov edx, dword [0x7a39fc]
mov eax, dword [edx + 4]
mov ebx, dword [eax + 4]
push 1
call fcn.005e5670
push eax
mov ecx, ebx
push 2
call fcn.0066b360
mov ebx, eax
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
push 0x322bcc77
call fcn.005ed530
mov ecx, eax
call fcn.00644650
push str.0_0_0
call fcn.00401690
mov ecx, dword [0x7a39e0]
mov ecx, dword [ecx + 4]
add esp, 4
call fcn.005e9260
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 4]
call fcn.005ed4f0
mov ecx, eax
call fcn.004adc80
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0
call fcn.005e5c20
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed770
push 0
push 0
push 0x3d4ccccd
call fcn.00401c10
add esp, 0xc
mov ecx, edi
call fcn.00609410
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x18]
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x1c]
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x20]
push 0x20
push 0x3f800000
mov ecx, esi
call fcn.004d67b0
fstp dword [esp + 0x10]
mov ecx, esi
call fcn.004d66f0
push 1
mov ecx, esi
call fcn.004d6230
test eax, eax
jne 0x64be3c
mov ecx, dword [esp + 0x14]
push 1
push ebx
push ecx
mov ecx, edi
call fcn.00607610
test eax, eax
jne 0x64be59
mov ecx, esi
call fcn.004d6170
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
jmp 0x64bf15
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 4]
call fcn.005ed540
mov esi, eax
test esi, esi
je 0x64bee4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x54], edx
call dword [eax + 0x8c]
fld dword [esp + 0x10]
fsin
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + 0x1dc]
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
mov dword [esp + 0x60], 0
fld dword [esp + 0x14]
fcos
fstp dword [esp + 0x58]
fstp dword [esp + 0x5c]
call dword [edx + 0x88]
push 0
push 0
mov ecx, esi
call fcn.0060c790
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004d6170
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4