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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457325
sub esp, 0x68
lea eax, [0x61e554]
mov dword [esp], eax
call fcn.00401fb0
mov eax, dword [esp + 4]
test eax, eax
je 0x457312
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
lea ebx, [0x5184c0]
mov dword [esp], ebx
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jbe 0x45731d
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x50]
mov ebx, dword [edx]
mov ebp, dword [0x63be10]
mov eax, dword [ebx + 0x8c]
mov ebx, dword [esp + 0x34]
dec ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, edx
mov dword [esp + 0x60], ebx
test ebp, ebp
jne 0x457308
mov dword [edi], eax
lea eax, [0x518240]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 0x50]
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 [0x63be10]
test eax, eax
jne 0x4572fc
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
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 + 0x20], ebp
mov ebp, 1
mov dword [esp + 0x24], ebp
jmp 0x457172
inc eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov ecx, ebx
mov ebp, edx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
cmp ecx, eax
jle 0x4572d5
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], eax
mov edx, dword [edx + eax*4]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x20]
lea esi, [ecx + 1]
mov edx, dword [edx + 0x8c]
mov ebp, dword [esp + 0x24]
cmp esi, ebp
ja 0x45728b
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov ebp, dword [0x63be10]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x457275
mov dword [ebx + ecx*4], edx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x54]
mov esi, dword [ebp + 0xa0]
mov dword [esp + 0x5c], esi
mov ebx, dword [ebp + 0xa4]
mov ebp, dword [ebp + 0xa8]
mov esi, dword [esp + 0x2c]
cmp esi, edx
jb 0x45722b
lea ecx, [ecx + ecx*2]
mov dword [edi + ecx*4 + 4], ebx
mov dword [edi + ecx*4 + 8], ebp
mov ebx, dword [0x63be10]
lea ebp, [edi + ecx*4]
test ebx, ebx
jne 0x457213
mov ebx, dword [esp + 0x5c]
mov dword [edi + ecx*4], ebx
jmp 0x457159
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045a680
mov eax, ebx
mov edi, ecx
jmp 0x457159
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [0x515e00]
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.004427c0
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 + 0x28]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
jmp 0x4571ef
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, edx
call fcn.0045a680
mov eax, ebp
mov edi, ecx
jmp 0x4571c2
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edx
lea eax, [0x51b520]
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.004427c0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
jmp 0x4571a6
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x68
ret
mov eax, ecx
call fcn.0045a680
jmp 0x457128
call fcn.0045a680
jmp 0x4570e8
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x45708b
xor eax, eax
call fcn.0045a700
nop
call fcn.00459120
jmp fcn.00457050