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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x489b23
sub esp, 0x74
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x4898d4
jmp 0x4898d6
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
movzx eax, byte [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.00489550
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x4899a4
jmp 0x489aed
cmp dword [0x5cf678], eax
jne 0x4899ae
jmp 0x4899b3
jmp 0x489ad5
mov edx, dword [0x5cf67c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4899d7
jmp 0x489ad3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004850f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
inc edx
cmp eax, edx
jae 0x489a27
jmp 0x489a29
jmp 0x489a59
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x50e160]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x489a59
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
lea ebx, [edx + edx*2]
lea ebp, [ecx + ebx*4 - 0xc]
mov esi, dword [esp + 0x40]
lea edi, [ecx + ebx*4 - 8]
lea ebx, [ecx + ebx*4 - 4]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [edi], eax
mov dword [ebx], edx
mov eax, dword [0x5efdd0]
test eax, eax
je 0x489a8c
jmp 0x489a8e
jmp 0x489a9d
call fcn.004757c0
mov dword [edi], esi
mov eax, dword [ebp]
mov dword [edi + 4], eax
jmp 0x489a9d
mov dword [ebp], esi
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
add dword [esp + 0x98], eax
jmp 0x489ace
jmp 0x4898d4
jmp 0x489ad5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jmp 0x489aef
jmp 0x489aef
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
add dword [esp + 0x98], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x74
ret
call fcn.004743b0
jmp fcn.00489840