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

Disassembly:
mov ecx, dword [0xc310e4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x458ee9
sub esp, 0x5c
mov eax, dword [esp + 0x68]
test eax, eax
je 0x45899b
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4589af
mov ebx, dword [esp + 0x6c]
mov ebp, ebx
shr ebx, 2
nop
and ebx, 1
xor ecx, ecx
jmp 0x458eb2
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x458a18
mov ebp, dword [esp + 0x64]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
ja 0x458ea8
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x30]
sub esi, eax
mov dword [esp + 0x40], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov ebx, dword [ebx]
sub ecx, eax
mov dword [esp + 0x3c], ecx
add edx, esi
mov dword [esp + 0x54], edx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004582c0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
jmp 0x458abe
movzx eax, byte [esp + 0x74]
test al, al
je 0x458a37
lea eax, [0xc30fe8]
mov dword [esp], eax
call fcn.00406520
mov eax, dword [esp + 4]
test eax, eax
je 0x458a4b
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004582c0
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
call fcn.0043eb30
lea eax, [0x8c8e1b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043f3b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043f240
call fcn.0043ed40
call fcn.0043eb90
lea eax, [0x8bef7b]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043ce00
mov esi, ecx
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp]
mov edi, dword [esp + 0x64]
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.004582c0
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00459490
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x458bf2
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
cmp ebp, eax
jae 0x458ab8
mov eax, dword [esp + 0x70]
test eax, eax
je 0x458bde
shr ebp, 2
and ebp, 1
lea edx, [ebp + ebp*2]
shl edx, 5
mov ebx, dword [0xc310e4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x94]
mov esi, dword [ebx + 0x98]
mov edi, ebp
shl ebp, 0x11
xor ebp, edi
mov edi, esi
xor esi, ebp
shr ebp, 7
xor ebp, esi
mov esi, edi
shr edi, 0x10
xor edi, ebp
nop
lea ebp, [eax + edx]
nop
mov dword [ebx + 0x94], esi
mov dword [ebx + 0x98], edi
mov ebx, dword [eax + edx]
mov ecx, dword [eax + edx + 4]
mov eax, dword [eax + edx + 8]
add esi, edi
shr esi, 0x1d
lea esi, [esi + esi*2]
mov dword [ebp + esi*4], ebx
mov dword [ebp + esi*4 + 4], ecx
mov dword [ebp + esi*4 + 8], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + edx], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebx + edx + 4], ecx
mov dword [ebx + edx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], ecx
lea eax, [0xc30fe8]
mov dword [esp], eax
call fcn.00406520
mov eax, dword [esp + 4]
test eax, eax
jne 0x458d7d
movzx eax, byte [esp + 0x74]
test al, al
je 0x458d7d
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004583f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], edx
call fcn.0043eb30
lea eax, [0x8ce942]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043f3b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0043f3b0
lea eax, [0x8bb4cc]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043f3b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0043f240
lea eax, [0x8bd13d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043f3b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0043f240
lea eax, [0x8bb787]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043f3b0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0043f430
call fcn.0043ed40
call fcn.0043eb90
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x68]
cmp edx, ecx
ja 0x458ea1
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x30]
sub ebp, edx
mov dword [esp + 0x40], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
mov edi, dword [esp + 0x60]
mov edi, dword [edi]
sub ecx, edx
mov dword [esp + 0x3c], ecx
lea edx, [ebx + ebp]
mov dword [esp + 0x54], edx
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004582c0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
jmp 0x458e21
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0043eb30
lea eax, [0x8bbeee]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043f3b0
mov eax, dword [esp + 0x30]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043f1d0
lea eax, [0x8bd147]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043f3b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0043f240
call fcn.0043ed40
call fcn.0043eb90
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.004582c0
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00459490
movzx eax, byte [esp + 0x24]
test al, al
jne 0x458d91
lea eax, [0x8c8dff]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043ce00
mov eax, edx
call fcn.0046d330
call fcn.0046d330
inc ecx
mov edx, dword [esp + 0x70]
cmp ecx, 8
jge 0x4589af
lea esi, [ebx + ebx*2]
shl esi, 5
add esi, edx
lea edi, [ecx + ecx*2]
lea edx, [esi + edi*4 + 4]
cmp dword [edx], eax
jne 0x458ead
lea edx, [esi + edi*4]
cmp dword [edx], ebp
jne 0x458ead
mov eax, dword [esi + edi*4 + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
call fcn.0046be40
jmp fcn.00458960