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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4567cd
sub esp, 0x68
lea eax, [0x57d070]
mov dword [esp], eax
call fcn.00401ec0
mov eax, dword [esp + 4]
test eax, eax
je 0x456559
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x45655f
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
lea ebx, [0x4c17e0]
mov dword [esp], ebx
call fcn.0040b240
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x4567c5
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov ebp, dword [0x5a34c0]
mov eax, dword [ebx + 0x8c]
mov ebx, dword [esp + 0x24]
dec ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, edx
mov dword [esp + 0x60], ebx
test ebp, ebp
jne 0x4565ba
mov dword [edi], eax
jmp 0x4565bf
call fcn.00459240
lea eax, [0x4c1660]
mov dword [esp], eax
call fcn.0040b240
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [0x5a34c0]
test eax, eax
jne 0x4565fd
mov dword [edi], ecx
jmp 0x456604
mov eax, ecx
call fcn.00459240
mov ecx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
xor eax, eax
mov ebp, 1
mov esi, 1
mov ebp, 1
mov dword [esp + 0x28], ebp
mov ebp, 1
mov dword [esp + 0x2c], ebp
jmp 0x45664e
inc eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov ecx, ebx
mov ebp, edx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
cmp eax, ecx
jge 0x45679e
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], eax
mov edx, dword [edx + eax*4]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x28]
lea esi, [ecx + 1]
mov edx, dword [edx + 0x8c]
mov ebp, dword [esp + 0x2c]
cmp ebp, esi
jae 0x4566c5
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edx
lea eax, [0x4c3740]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004439c0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
mov ebp, dword [0x5a34c0]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x4566df
mov dword [ebx + ecx*4], edx
jmp 0x4566f0
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, edx
call fcn.00459240
mov eax, ebp
mov edi, ecx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x54]
mov esi, dword [ebp + 0xa0]
mov dword [esp + 0x58], esi
mov ebx, dword [ebp + 0xa4]
mov ebp, dword [ebp + 0xa8]
mov esi, dword [esp + 0x34]
cmp esi, edx
jae 0x456762
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [0x4bfec0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.004439c0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea ecx, [ecx + ecx*2]
mov dword [edi + ecx*4 + 4], ebx
mov dword [edi + ecx*4 + 8], ebp
mov ebx, dword [0x5a34c0]
lea ebp, [edi + ecx*4]
test ebx, ebx
jne 0x456786
mov ebx, dword [esp + 0x58]
mov dword [edi + ecx*4], ebx
jmp 0x456635
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x58]
call fcn.00459240
mov eax, ebx
mov edi, ecx
jmp 0x456635
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x68
ret
xor eax, eax
call fcn.004592c0
nop
call fcn.00457e00
jmp fcn.00456520