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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b41d
sub esp, 0x68
lea eax, [0x824bac]
mov dword [esp], eax
call fcn.00401ec0
mov eax, dword [esp + 4]
test eax, eax
je 0x45b1a9
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x45b1af
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, [0x62aac0]
mov dword [esp], ebx
call fcn.0040b620
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x45b415
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov ebp, dword [0x84c7c0]
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 0x45b20a
mov dword [edi], eax
jmp 0x45b20f
call fcn.0045e710
lea eax, [0x62a6c0]
mov dword [esp], eax
call fcn.0040b620
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 [0x84c7c0]
test eax, eax
jne 0x45b24d
mov dword [edi], ecx
jmp 0x45b254
mov eax, ecx
call fcn.0045e710
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 0x45b29e
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 0x45b3ee
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 0x45b315
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edx
lea eax, [0x62f4c0]
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.00447700
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 [0x84c7c0]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x45b32f
mov dword [ebx + ecx*4], edx
jmp 0x45b340
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, edx
call fcn.0045e710
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 0x45b3b2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [0x626ea0]
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.00447700
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 [0x84c7c0]
lea ebp, [edi + ecx*4]
test ebx, ebx
jne 0x45b3d6
mov ebx, dword [esp + 0x58]
mov dword [edi + ecx*4], ebx
jmp 0x45b285
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x58]
call fcn.0045e710
mov eax, ebx
mov edi, ecx
jmp 0x45b285
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.0045e790
nop
call fcn.0045d2d0
jmp fcn.0045b170