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

Disassembly:
push 0xffffffffffffffff
push 0x4d8a60
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x58], ebx
lea eax, [ebx + 0xa4]
push eax
lea ecx, [ebx + 0x3c]
call fcn.004227d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or eax, 0xffffffff
xor esi, esi
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], 0x4dc264
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
call fcn.00457cf0
mov eax, dword [ebx + 0x244]
sub eax, dword [ebx + 0x240]
mov dword [esp + 0xc8], esi
mov esi, dword [ebx + 0x9c]
sar eax, 2
cmp esi, eax
jb 0x459daa
call fcn.0049eacd
mov ecx, dword [ebx + 0x240]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edx
call fcn.00457cf0
mov esi, dword [ebx + 0xe8]
lea ebp, [ebx + 0xd8]
mov byte [esp + 0xc8], 1
mov dword [esp + 0x48], ebp
cmp dword [ebp + 0xc], esi
jbe 0x459de2
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459df6
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0042ae50
mov edi, dword [ebx + 0x118]
cmp dword [ebx + 0x114], edi
lea esi, [ebx + 0x108]
jbe 0x459e26
call fcn.0049eacd
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp ebp, dword [esi + 0x10]
jbe 0x459e39
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push ecx
push ebp
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00436e00
mov esi, dword [ebx + 0x130]
cmp dword [ebx + 0x12c], esi
lea ebp, [ebx + 0x120]
jbe 0x459e68
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459e7c
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.00436e00
mov esi, dword [ebx + 0x148]
cmp dword [ebx + 0x144], esi
lea ebp, [ebx + 0x138]
jbe 0x459eac
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459ec0
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.00436e00
mov esi, dword [ebx + 0x160]
cmp dword [ebx + 0x15c], esi
lea ebp, [ebx + 0x150]
jbe 0x459ef0
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459f04
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.00436e00
mov esi, dword [ebx + 0x178]
cmp dword [ebx + 0x174], esi
lea ebp, [ebx + 0x168]
jbe 0x459f34
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459f48
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.00436e00
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jbe 0x459f70
call fcn.0049eacd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x459f84
call fcn.0049eacd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0042ae50
mov esi, dword [ebx + 0x1a8]
add ebx, 0x198
cmp dword [ebx + 0xc], esi
jbe 0x459fb1
call fcn.0049eacd
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x459fc0
call fcn.0049eacd
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.00420920
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x20], 0
jle 0x45a3d7
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x14], 1
mov dword [esp + 0x4c], eax
nop
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x45a036
call fcn.0049eacd
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x4c]
mov ecx, dword [eax + edi + 0x10]
sub ecx, dword [eax + edi + 0xc]
add eax, edi
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x45a07e
call fcn.0049eacd
mov edx, dword [esi + 0x18]
add edx, edi
push edx
lea ecx, [esp + 0x78]
call fcn.0040e1a0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebp, eax
cmp ecx, eax
jbe 0x45a0a8
call fcn.0049eacd
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, eax
jbe 0x45a0b7
call fcn.0049eacd
mov eax, dword [esp + 0x5c]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040c6c0
xor esi, esi
test ebx, ebx
jle 0x45a22d
mov ebp, dword [esp + 0x50]
mov edi, edi
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45a12d
call fcn.0049eacd
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
lea edi, [esi + esi*8]
add edi, edi
add edi, edi
add ecx, edi
push ecx
lea ecx, [esp + 0x28]
call eax
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 8
ja case.0x45a158.4
jmp dword [eax*4 + 0x45a4c0]
cmp dword [esp + 0x38], 0xffffd8f1
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
jne case.0x45a158.4
mov dword [esp + 0x28], 0xa
jmp case.0x45a158.4
cmp dword [esp + 0x38], 0
je case.0x45a158.4
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
dec dword [esp + 0x38]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45a1bd
call fcn.0049eacd
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + edi]
mov edx, dword [edx]
add ecx, edi
lea eax, [esp + 0x24]
push eax
call edx
add esi, dword [esp + 0x2c]
jmp case.0x45a158.4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xd0]
push eax
call fcn.00456370
test eax, eax
jge 0x45a1ef
neg eax
cdq
idiv dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp edx, eax
jge 0x45a204
add eax, edx
mov dword [esp + 0x38], eax
jmp case.0x45a158.4
mov dword [esp + 0x38], edx
jmp case.0x45a158.4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
call fcn.00410090
inc esi
cmp esi, ebx
jl 0x45a0e0
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x12c]
lea edi, [ebx + 0x120]
test ecx, ecx
jne 0x45a245
xor eax, eax
jmp 0x45a24d
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45a269
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45a28d
cmp ecx, esi
jbe 0x45a272
call fcn.0049eacd
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
push ecx
push esi
push eax
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.00469800
mov ecx, dword [ebx + 0x144]
lea edi, [ebx + 0x138]
test ecx, ecx
jne 0x45a2a1
xor eax, eax
jmp 0x45a2a9
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45a2c5
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45a2e9
cmp ecx, esi
jbe 0x45a2ce
call fcn.0049eacd
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push ecx
push esi
push eax
lea edx, [esp + 0xa4]
push edx
mov ecx, edi
call fcn.00469800
mov ecx, dword [ebx + 0x15c]
lea edi, [ebx + 0x150]
test ecx, ecx
jne 0x45a2fd
xor eax, eax
jmp 0x45a305
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45a321
mov dword [esi], 0xffffffff
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45a345
cmp ecx, esi
jbe 0x45a32a
call fcn.0049eacd
mov eax, dword [edi]
lea ecx, [esp + 0x94]
push ecx
push esi
push eax
lea edx, [esp + 0xc4]
push edx
mov ecx, edi
call fcn.00469800
mov ecx, dword [ebx + 0x174]
lea edi, [ebx + 0x168]
test ecx, ecx
jne 0x45a359
xor eax, eax
jmp 0x45a361
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45a37d
mov dword [esi], 1
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45a39e
cmp ecx, esi
jbe 0x45a386
call fcn.0049eacd
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
lea edx, [esp + 0xbc]
push edx
mov ecx, edi
call fcn.00469800
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push eax
call fcn.00413b20
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x198]
call fcn.00423a80
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x4c], 0x18
inc eax
cmp eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
jl 0x45a010
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edi + 0x184]
mov esi, dword [edi + 0x9c]
mov dword [edi + 0x1e4], ecx
mov dword [edi + 0x18c], edx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x180], ecx
mov edx, dword [eax + 0x28]
mov dword [edi + 0x184], edx
mov eax, dword [edi + 0x244]
sub eax, dword [edi + 0x240]
sar eax, 2
cmp esi, eax
jb 0x45a424
call fcn.0049eacd
mov ecx, dword [edi + 0x240]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x1e0], eax
call fcn.00459370
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
je 0x45a452
push eax
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call fcn.0048dd02
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, esi
je 0x45a47f
push eax
call fcn.0048dd02
add esp, 4
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4