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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x238]
cmp eax, dword [ecx + 8]
jbe 0x488781
sub esp, 0x2b8
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
mov eax, dword [esp + 0x2c8]
test eax, eax
je 0x488691
nop
cmp eax, 3
je 0x488618
mov ecx, dword [esp + 0x2c4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004879e0
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00473040
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x488605
xor edx, edx
test ecx, ecx
je 0x487f96
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x4dd8a0]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x5c2560]
test eax, eax
jne 0x487f85
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x487f69
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x487f50
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x50eae0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044a9c0
mov edi, edx
jmp 0x487f19
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov edi, edx
jmp 0x487efe
mov eax, dword [esp + 0x2bc]
call fcn.0044a9c0
jmp 0x487ee0
mov dword [esp + 0x2a4], edx
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0044aab7
mov dword [esp], edx
mov dword [esp + 4], 0
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.00475120
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x488376
je 0x487fe6
lea ebx, [0x4dca40]
cmp dword [ecx + 4], ebx
jne 0x487fe6
cmp dword [edx], 0x20
je 0x4881b7
mov eax, dword [esp + 0x2a4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.00473bb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x48812b
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x4dd8a0]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xa
mov eax, dword [0x5c2560]
test eax, eax
jne 0x48811b
lea ecx, [0x4ef6de]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4880ff
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4880e6
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x50eae0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044a9c0
mov edi, edx
jmp 0x4880af
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov edi, edx
jmp 0x488094
lea eax, [0x4ef6de]
call fcn.0044a9c0
jmp 0x488076
mov dword [esp + 0x28], edx
mov dword [esp], 0xc
lea eax, [0x4f8520]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00425640
test eax, eax
jne 0x4881aa
mov eax, dword [esp + 0x2c4]
mov dword [esp], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00488bf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea ebx, [0x50f840]
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2d8], ecx
mov dword [esp + 0x2dc], eax
nop
call fcn.00425e10
add esp, 0x2b8
ret
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea edi, [esp + 0x58]
mov ecx, 0x93
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2a4]
mov dword [esp], edx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00473890
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ebx, ebx
je 0x4882de
mov dword [esp + 0x2b0], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x4dd8a0]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xd
mov eax, dword [0x5c2560]
test eax, eax
jne 0x4882ce
lea ecx, [0x4f01a2]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4882b2
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x488299
mov eax, dword [esp + 0x2b0]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x50eae0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2b0]
call fcn.0044a9c0
mov edi, edx
jmp 0x488262
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov edi, edx
jmp 0x488247
lea eax, [0x4f01a2]
call fcn.0044a9c0
jmp 0x488229
mov dword [esp], ebp
call fcn.00474150
nop
lea eax, [0x4e7000]
mov dword [esp], eax
call fcn.004098b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x2c], eax
lea eax, [0x50f840]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], ecx
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00425e10
add esp, 0x2b8
ret
mov ebx, dword [esp + 0x34]
test ebx, 0x400
je 0x488389
test ecx, ecx
jmp 0x487fd0
lea eax, [0x4e7000]
mov dword [esp], eax
call fcn.004098b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c8]
mov dword [eax + 0x40], ecx
mov edx, dword [0x5c2560]
lea edi, [eax + 0x3c]
mov dword [esp + 0x2b4], edi
test edx, edx
jne 0x4885f0
mov edx, dword [esp + 0x2c4]
mov dword [eax + 0x3c], edx
mov dword [esp + 0x2a8], eax
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00487730
movzx eax, byte [esp + 8]
test al, al
je 0x48849e
mov eax, dword [esp + 0x2c4]
mov dword [esp], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
call fcn.00487660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x2a8]
mov dword [edi + 4], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x488497
mov dword [edi], eax
lea eax, [0x50f840]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], edi
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00425e10
add esp, 0x2b8
ret
call fcn.0044a9c0
jmp 0x488460
mov eax, dword [esp + 0x2a8]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00471f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x2a8]
mov dword [ebp + 0x40], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4885d9
mov dword [ebp + 0x3c], ebx
test edx, edx
je 0x488428
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], edx
lea eax, [0x4dd8a0]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0x5c2560]
test eax, eax
jne 0x4885c9
lea ecx, [0x4ef14d]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4885ad
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x488594
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x50eae0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044a9c0
mov edi, edx
jmp 0x48855d
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov edi, edx
jmp 0x488542
lea eax, [0x4ef14d]
call fcn.0044a9c0
jmp 0x488524
mov edi, dword [esp + 0x2b4]
mov ecx, eax
mov eax, ebx
call fcn.0044a9c0
mov eax, ecx
jmp 0x4884e2
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov eax, edx
jmp 0x4883c7
test edx, edx
jbe 0x48877a
mov edx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x487e9a
mov ecx, dword [esp + 0x2c4]
movzx edx, byte [ecx]
cmp dl, 0x6e
je 0x488630
cmp dl, 0x4e
jne 0x487e58
movzx edx, byte [ecx + 1]
cmp dl, 0x75
je 0x488642
cmp dl, 0x55
jne 0x487e58
movzx edx, byte [ecx + 2]
cmp dl, 0x6c
je 0x488654
cmp dl, 0x4c
jne 0x487e58
lea eax, [0x50f840]
mov dword [esp + 0x2d0], eax
lea eax, [0x5b07c0]
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea eax, [0x4dd8a0]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x5c2560]
test eax, eax
jne 0x488769
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x48874d
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
lea ecx, [0x50ec00]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x488735
lea eax, [0x50d548]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x50eae0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00425e10
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
lea eax, [0x50d548]
call fcn.0044a9c0
mov edi, edx
jmp 0x4886fe
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044a9c0
mov edi, edx
jmp 0x4886e2
mov eax, dword [esp + 0x2bc]
call fcn.0044a9c0
jmp 0x4886c4
call fcn.004253a0
ud2
call fcn.00449270
jmp fcn.00487df0