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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505fb7
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x5450d0]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x5450d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xf
pop esi
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0xec]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x104], esi
call fcn.00440598
mov dword [esp + 0x1c8], ebx
push ebx
lea ecx, [esp + 0x124]
mov dword [esp + 0x13c], esi
call fcn.00440598
push ebx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
call fcn.00440598
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], esi
call fcn.00440598
mov byte [esp + 0x1c8], 3
mov dword [esp + 0x14], ebx
call 0x52feb0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push dword [esp + 0x2c]
mov dword [esp + 0x38], eax
lea esi, [esp + 0x34]
call fcn.00440341
lea eax, [esp + 0x158]
push eax
mov ecx, esi
call fcn.004b7359
add esp, 0x20
mov byte [esp + 0x1c8], 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x120]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x104]
lea esi, [esp + 0x30]
mov dword [esp + 0x40], ecx
call fcn.00461399
lea esi, [esp + 0x13c]
mov byte [esp + 0x1c8], 3
call fcn.00461093
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
test eax, fcn.004ac059
je 0x488f82
push dword [esp + 0x10]
add edi, 0x15c
push edi
call fcn.00453420
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x10c]
call fcn.0044046c
push ebx
push esi
lea ecx, [esp + 0xd4]
call fcn.0044046c
push ebx
push esi
lea ecx, [esp + 0x128]
call fcn.0044046c
push ebx
jmp 0x4894a5
push 0x51c128
lea eax, [esp + 0xec]
call fcn.00450778
pop ecx
test al, al
jne 0x489038
mov esi, dword [edi + 0x4a0]
mov ebx, 0xc0
add esi, ebx
call fcn.00492211
test al, al
je 0x489023
call fcn.0044bb5f
push 0x18
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.0048c07b
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
mov byte [esp + 0x1d0], 5
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004819be
mov byte [esp + 0x1c8], 6
mov edx, dword [edi + 0x4a0]
add edx, ebx
mov ecx, eax
call fcn.004d0f0b
mov byte [esp + 0x1c8], 5
lea esi, [esp + 0x64]
call fcn.00481b53
lea eax, [esp + 0x24]
mov byte [esp + 0x1c8], 3
call fcn.0044af6f
push dword [esp + 0x10]
add edi, 0x15c
push edi
call fcn.00453420
jmp 0x489475
cmp dword [esp + 0xe0], ebx
jne 0x4890b3
mov esi, dword [edi + 0x4a0]
mov ebx, 0xc0
add esi, ebx
call fcn.00492211
test al, al
je 0x489023
call fcn.0044bb5f
push 0x1f
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.0048c07b
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
mov byte [esp + 0x1d0], 7
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004819be
mov byte [esp + 0x1c8], 8
mov edx, dword [edi + 0x4a0]
add edx, ebx
mov ecx, eax
call fcn.004d0f0b
mov byte [esp + 0x1c8], 7
jmp 0x489009
cmp dword [esp + 0x2c], ebx
jne 0x48912f
mov esi, dword [edi + 0x4a0]
mov ebx, 0xc0
add esi, ebx
call fcn.00492211
test al, al
je 0x489023
call fcn.0044bb5f
push 0x20
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.0048c07b
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
mov byte [esp + 0x1d0], 9
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004819be
mov byte [esp + 0x1c8], 0xa
mov edx, dword [edi + 0x4a0]
add edx, ebx
mov ecx, eax
call fcn.004d0f0b
mov byte [esp + 0x1c8], 9
jmp 0x489009
push dword [esp + 0x10]
lea eax, [edi + 0x19c]
push eax
lea ebx, [esp + 0x1c]
call fcn.00453330
mov ecx, dword [edi + 0x4a0]
lea eax, [ecx + 0x98c]
mov edx, dword [eax + 0x58]
mov dword [esp + 0x20], eax
cmp edx, 4
je 0x489378
cmp edx, 5
je 0x489378
mov eax, dword [esp + 0x2c]
add ecx, 0x5d4
call fcn.004d4909
test al, 1
je 0x48924c
mov esi, dword [edi + 0x4a0]
mov ebx, 0xc0
add esi, ebx
call fcn.00492211
test al, al
je 0x489206
call fcn.0044bb5f
push 0x21
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.0048c07b
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
mov byte [esp + 0x1d0], 0xf
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004819be
mov byte [esp + 0x1c8], 0x10
mov edx, dword [edi + 0x4a0]
add edx, ebx
mov ecx, eax
call fcn.004d0f0b
lea esi, [esp + 0x64]
mov byte [esp + 0x1c8], 0xf
call fcn.00481b53
lea eax, [esp + 0x24]
mov byte [esp + 0x1c8], 3
call fcn.0044af6f
push dword [esp + 0x10]
add edi, 0x15c
push edi
call fcn.00453420
xor esi, esi
xor edi, edi
push esi
inc edi
push edi
lea ecx, [esp + 0x10c]
call fcn.0044046c
push esi
push edi
lea ecx, [esp + 0xd4]
call fcn.0044046c
push esi
push edi
lea ecx, [esp + 0x128]
call fcn.0044046c
push esi
push edi
jmp 0x4894a6
mov eax, dword [esp + 0x2c]
cdq
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00460bb7
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
movsb byte es:[edi], byte [esi]
call fcn.0044031f
lea ebx, [esp + 0x48]
lea edx, [esp + 0xcc]
lea esi, [esp + 0x13c]
mov byte [esp + 0x1c8], 0x11
call fcn.0046d819
push 0
push 1
mov ecx, ebx
mov byte [esp + 0x1d0], 0x13
call fcn.0044046c
and dword [esp + 0x18], 0
sub esp, 0xb0
mov dword [esp + 0xd0], esp
mov ebx, esp
sub esp, 0x80
mov esi, esp
mov dword [esp + 0x144], 0x44b1bd
mov dword [esp + 0x150], esp
call fcn.0046bc66
mov edi, dword [esp + 0x140]
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x170], esp
push edi
mov ecx, esi
call fcn.00440341
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x178]
push ecx
push ecx
add esi, 0x90
mov edi, esp
mov byte [esp + 0x320], 0x14
mov dword [esp + 0x168], esp
call fcn.0048f3df
push dword [esp + 0x170]
movzx eax, byte [0x551cee]
push dword [esp + 0x170]
push eax
movzx eax, byte [0x551d02]
push eax
mov byte [esp + 0x330], 0x13
call fcn.004923e2
mov ecx, dword [esp + 0x190]
add esp, 0xb8
lea eax, [esp + 0x1ec]
push eax
add ecx, 0x1d8
call fcn.004924b5
jmp 0x489469
mov eax, dword [eax + 0x1c]
cdq
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00460bb7
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
movsb byte es:[edi], byte [esi]
call fcn.0044031f
mov byte [esp + 0x1c8], 0xb
mov edx, dword [esp + 0x20]
lea ebx, [esp + 0x48]
lea esi, [esp + 0x13c]
call fcn.0046d819
push 0
push 1
mov ecx, ebx
mov byte [esp + 0x1d0], 0xd
call fcn.0044046c
mov edi, dword [esp + 0x10]
and dword [esp + 0x18], 0
sub esp, 0x30
mov dword [esp + 0x50], esp
mov ebx, esp
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x70], esp
push edi
mov ecx, esi
mov dword [esp + 0x68], 0x44ad03
call fcn.00440341
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x78]
push ecx
push ecx
add esi, 0x90
mov edi, esp
mov byte [esp + 0x220], 0xe
mov dword [esp + 0x68], esp
call fcn.0048f3df
push dword [esp + 0x70]
movzx eax, byte [0x551cee]
push dword [esp + 0x70]
push eax
movzx eax, byte [0x551d02]
push eax
mov byte [esp + 0x230], 0xd
call fcn.00492298
mov edi, dword [esp + 0x90]
add esp, 0x38
lea eax, [esp + 0x16c]
push eax
add edi, 0x1d8
call fcn.00492384
lea esi, [esp + 0x13c]
call fcn.0046b244
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [esp + 0x10c]
call fcn.0044046c
push edi
push esi
lea ecx, [esp + 0xd4]
call fcn.0044046c
push edi
push esi
lea ecx, [esp + 0x128]
call fcn.0044046c
push edi
push esi
lea ecx, [esp + 0xf0]
call fcn.0044046c
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call 0x511697
mov esp, ebp
pop ebp
ret 4