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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45aa3d
sub esp, 0x68
lea eax, [0x6deb14]
mov dword [esp], eax
call fcn.00401c20
mov eax, dword [esp + 4]
test eax, eax
je 0x45a7c9
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x45a7cf
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, [0x581880]
mov dword [esp], ebx
call fcn.0040b060
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x45aa35
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov ebp, dword [0x705d20]
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 0x45a82a
mov dword [edi], eax
jmp 0x45a82f
call fcn.0045d700
lea eax, [0x581640]
mov dword [esp], eax
call fcn.0040b060
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov ecx, dword [eax + 0xa8]
mov edx, dword [eax + 0xac]
mov eax, dword [eax + 0xb0]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [0x705d20]
test eax, eax
jne 0x45a86d
mov dword [edi], ecx
jmp 0x45a874
mov eax, ecx
call fcn.0045d700
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 0x45a8be
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 0x45aa0e
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 0x45a935
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edx
lea eax, [0x5844e0]
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.004472c0
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 [0x705d20]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x45a94f
mov dword [ebx + ecx*4], edx
jmp 0x45a960
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, edx
call fcn.0045d700
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 + 0xa8]
mov dword [esp + 0x58], esi
mov ebx, dword [ebp + 0xac]
mov ebp, dword [ebp + 0xb0]
mov esi, dword [esp + 0x34]
cmp esi, edx
jae 0x45a9d2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [0x57ee60]
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.004472c0
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 [0x705d20]
lea ebp, [edi + ecx*4]
test ebx, ebx
jne 0x45a9f6
mov ebx, dword [esp + 0x58]
mov dword [edi + ecx*4], ebx
jmp 0x45a8a5
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x58]
call fcn.0045d700
mov eax, ebx
mov edi, ecx
jmp 0x45a8a5
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.0045d780
nop
call fcn.0045c2f0
jmp fcn.0045a790