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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45e7d9
sub esp, 0x68
lea eax, [0x615f1c]
mov dword [esp], eax
call fcn.00401fe0
mov eax, dword [esp + 4]
test eax, eax
je 0x45e559
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x45e55f
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, [0x4f4180]
mov dword [esp], ebx
call fcn.0040b720
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x45e7cf
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov ebx, dword [0x63b5a0]
mov edx, dword [edx + 0x94]
mov ebp, dword [esp + 0x24]
dec ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
add ebp, ecx
mov dword [esp + 0x60], ebp
test ebx, ebx
jne 0x45e5be
mov dword [edi], edx
jmp 0x45e5c5
mov eax, edx
call fcn.00461790
lea eax, [0x4f3f80]
mov dword [esp], eax
call fcn.0040b720
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov ecx, dword [eax + 0xb0]
mov edx, dword [eax + 0xb4]
mov eax, dword [eax + 0xb8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [0x63b5a0]
test eax, eax
jne 0x45e603
mov dword [edi], ecx
jmp 0x45e60a
mov eax, ecx
call fcn.00461790
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 + 0x2c], ebp
mov ebp, 1
mov dword [esp + 0x28], ebp
jmp 0x45e656
inc eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov ebp, ebx
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x45e7a8
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], eax
mov edx, dword [edx + eax*4]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [edx + 0x94]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jae 0x45e6cc
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4f65c0]
mov dword [esp + 0x10], eax
call fcn.004494b0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [0x63b5a0]
lea esi, [ebx + ecx*4 - 4]
test edx, edx
jne 0x45e6e4
mov dword [ebx + ecx*4 - 4], ebp
jmp 0x45e6f5
mov edx, edi
mov edi, esi
mov eax, ebp
call fcn.00461790
mov eax, dword [esp + 0x40]
mov edi, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x30]
inc edx
mov ebp, dword [esp + 0x54]
mov esi, dword [ebp + 0xb0]
mov ecx, dword [ebp + 0xb4]
mov ebp, dword [ebp + 0xb8]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jae 0x45e76c
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], ecx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4f20c0]
mov dword [esp + 0x10], eax
call fcn.004494b0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
mov ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
lea edx, [edx + edx*2]
mov dword [edi + edx*4 - 8], ecx
mov dword [edi + edx*4 - 4], ebp
mov ecx, dword [0x63b5a0]
lea ebp, [edi + edx*4 - 0xc]
test ecx, ecx
jne 0x45e792
mov dword [edi + edx*4 - 0xc], esi
jmp 0x45e63b
mov ecx, edi
mov edi, ebp
mov edx, eax
mov eax, esi
call fcn.00461790
mov eax, edx
mov edi, ecx
jmp 0x45e63b
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], esi
mov dword [esp + 0x80], ebp
add esp, 0x68
ret
xor eax, eax
mov ecx, eax
call fcn.00461810
nop
call fcn.00460380
jmp fcn.0045e520