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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45692b
sub esp, 0x64
mov eax, dword [esp + 0x70]
test eax, eax
je 0x45638d
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4563f8
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00456310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
xor ebp, ebp
jmp 0x4563ac
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0
add esp, 0x64
ret
inc ebp
mov ebx, dword [esp + 0x78]
cmp ebp, 8
jge 0x4563f8
cmp eax, 2
jae 0x456920
lea esi, [eax + eax*2]
shl esi, 5
add esi, ebx
cmp ebp, 8
jae 0x456914
lea edi, [ebp + ebp*2]
lea ebx, [esi + edi*4 + 4]
cmp dword [ebx], ecx
jne 0x4563a7
lea ebx, [esi + edi*4]
cmp dword [ebx], edx
jne 0x4563a7
mov eax, dword [esi + edi*4 + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00456120
movzx eax, byte [esp + 8]
test al, al
je 0x45647e
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x2c]
mov ebx, dword [edx + 0x28]
mov ebp, dword [edx + 0x30]
mov eax, dword [esp + 0x70]
cmp eax, ecx
ja 0x45690f
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004561b0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
sub ecx, edx
mov ebx, dword [esp + 0x4c]
sub ebx, edx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
mov esi, dword [esp + 0x60]
add ecx, esi
jmp 0x456526
movzx eax, byte [esp + 0x7c]
test al, al
je 0x45649d
lea eax, [0x61133c]
mov dword [esp], eax
call fcn.00402380
mov eax, dword [esp + 4]
test eax, eax
je 0x4564b7
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.004561b0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
call fcn.0043c950
lea eax, [0x51266b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043d0c0
call fcn.0043cb60
call fcn.0043c9b0
lea eax, [0x50d233]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043b160
mov ebp, ebx
mov ebx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
call fcn.004561b0
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
sete al
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], edx
mov byte [esp + 0x14], al
call fcn.004571d0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x456643
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x74]
cmp ebp, eax
jae 0x456522
mov eax, dword [esp + 0x78]
test eax, eax
je 0x456629
mov dword [esp], ebp
call fcn.00456310
mov eax, dword [esp + 4]
cmp eax, 2
jae 0x456905
mov dword [esp + 0x28], eax
mov dword [esp], 8
call fcn.00454880
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 5
mov ecx, dword [esp + 0x78]
lea edx, [eax + ecx]
mov ebx, dword [esp + 4]
mov ebp, dword [ecx + eax + 4]
mov esi, dword [ecx + eax + 8]
mov edi, dword [ecx + eax]
cmp ebx, 8
jae 0x4568f9
lea ebx, [ebx + ebx*2]
mov dword [edx + ebx*4], edi
mov dword [edx + ebx*4 + 4], ebp
mov dword [edx + ebx*4 + 8], esi
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov dword [ecx + eax], ebx
mov ebx, dword [esp + 0x70]
mov dword [ecx + eax + 4], ebx
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
add esp, 0x64
ret
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebx
lea eax, [0x61133c]
mov dword [esp], eax
call fcn.00402380
mov eax, dword [esp + 4]
test eax, eax
jne 0x4567ca
movzx eax, byte [esp + 0x7c]
test al, al
je 0x4567ca
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.004569b0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
call fcn.0043c950
lea eax, [0x514625]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043d240
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0043d240
lea eax, [0x50ad2a]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043d0c0
lea eax, [0x50bc68]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0043d0c0
lea eax, [0x50aeab]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043d240
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0043d290
call fcn.0043cb60
call fcn.0043c9b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x30]
mov ebp, dword [esp + 0x70]
cmp ebp, ecx
ja 0x4568f2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004561b0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov edx, dword [esp + 0x50]
sub edx, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x60]
add eax, ecx
jmp 0x456868
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0
add esp, 0x64
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
call fcn.0043c950
lea eax, [0x50b48d]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043d240
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043d040
lea eax, [0x50bc7c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043d0c0
call fcn.0043cb60
call fcn.0043c9b0
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
call fcn.004561b0
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
sete al
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], edx
mov byte [esp + 0x14], al
call fcn.004571d0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
jne 0x4567e4
lea eax, [0x51251b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043b160
mov eax, ebp
call fcn.00468a70
mov eax, ebx
mov ecx, 8
call fcn.00468a10
mov ecx, 2
call fcn.00468a10
call fcn.00468a70
mov eax, ebp
mov ecx, 8
call fcn.00468a00
mov ecx, 2
call fcn.00468a10
nop
call fcn.00467570
jmp fcn.00456340