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

Disassembly:
push 0xffffffffffffffff
push 0x743d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x20304]
mov eax, dword [eax + 0x50]
mov ebp, dword [esi + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x118]
add ecx, 0x14
mov dword [esp + 0x30], edx
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
push 1
sub esp, 0x10
mov ecx, esp
xor ebx, ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], esp
call dword [edx + 0x228]
mov eax, dword [esi + 0x20304]
mov eax, dword [eax + 0x50]
cdq
sub eax, edx
lea ecx, [esp + 0x24]
sar eax, 1
push ecx
mov ecx, dword [esi + 0x118]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00701350
mov edx, dword [esi + 0x20304]
mov eax, dword [edx + 0x50]
neg eax
push eax
push eax
push 0x4515
lea edi, [esi + 8]
push edi
push esi
call fcn.00410790
mov eax, dword [esi + 0x20304]
add esp, 0x14
test byte [eax + 0x18], 1
je 0x548780
mov ecx, eax
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul dword [0x7bec84]
or ah, 0xc
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fldcw word [esp + 0x14]
jmp 0x5487b7
mov eax, dword [esi + 0x20304]
fnstcw word [esp + 0x14]
mov ecx, dword [eax + 0x50]
movzx eax, word [esp + 0x14]
or ah, 0xc
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul dword [0x7bec80]
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fldcw word [esp + 0x14]
push edx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x4515
push edi
push esi
call fcn.00410790
mov eax, dword [esi + 0x240]
lea ecx, [esi + 0x240]
add esp, 0x14
call dword [eax + 0x48]
test eax, eax
je 0x5487e9
mov ecx, esi
call fcn.00545c60
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x178]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x180]
mov ecx, dword [0x912e94]
mov eax, dword [esi + 0x20304]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
lea ecx, [esp + 0x6c]
mov edi, eax
call fcn.0043bca0
mov ecx, dword [esi + 0x20304]
mov eax, dword [ecx + 0x50]
push ebx
push 3
push eax
add eax, 1
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xac], ebx
call fcn.00439ba0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x50]
call fcn.0043bdf0
mov eax, dword [esi + 0x20304]
sub esp, 0x10
test byte [eax + 0x18], 1
mov byte [esp + 0xac], 1
mov dword [esp + 0x20], esp
je 0x548899
mov eax, dword [eax + 0x50]
lea ecx, [eax - 1]
mov eax, esp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [edi + 0x40]
add eax, 0x10
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0x549
lea ecx, [esi + 0x9c]
mov dword [esp + 0x28], esp
push ecx
jmp 0x54890d
cmp dword [eax + 0x50], 0x2800
jne 0x5488dc
mov edx, dword [esi + 0x20304]
mov eax, dword [edx + 0x50]
lea ecx, [eax - 1]
mov eax, esp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [edi + 0x40]
add eax, 0x78
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
lea eax, [esi + 0x9c]
mov dword [esp + 0x28], esp
mov dword [ecx + 4], 0x930
push eax
jmp 0x54890d
mov ecx, dword [esi + 0x20304]
mov eax, dword [ecx + 0x50]
lea ecx, [eax - 1]
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov edi, dword [edi + 0x40]
sub esp, 8
mov eax, esp
lea edx, [esi + 0x9c]
mov dword [esp + 0x28], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
push edx
lea ecx, [esp + 0x68]
call fcn.0043b660
mov eax, dword [esi + 0x2b8]
lea edi, [esi + 0x2b8]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x548955
nop
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, eax
call fcn.00545560
cmp dword [esp + 0x18], ebx
jne 0x548930
push ebx
lea eax, [esp + 0x70]
push str.c:_temp_map.bmp
push eax
call fcn.0043bb70
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 0xc
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov dword [eax], ebp
mov dword [eax + 8], edx
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], esp
call dword [edx + 0x228]
mov ecx, dword [esi + 0x118]
lea eax, [esp + 0x1c]
push eax
call fcn.00701350
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x178]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], bl
call fcn.00437a90
lea ecx, [esp + 0x6c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0043b050
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret