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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b1cd
sub esp, 0x68
lea eax, [0x7ef2e4]
mov dword [esp], eax
call fcn.00401ec0
mov eax, dword [esp + 4]
test eax, eax
je 0x45af59
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x45af5f
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, [0x6094c0]
mov dword [esp], ebx
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x45b1c5
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov ebp, dword [0x816df0]
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 0x45afba
mov dword [edi], eax
jmp 0x45afbf
call fcn.0045e5d0
lea eax, [0x6090c0]
mov dword [esp], eax
call fcn.0040b5f0
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 [0x816df0]
test eax, eax
jne 0x45affd
mov dword [edi], ecx
jmp 0x45b004
mov eax, ecx
call fcn.0045e5d0
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 0x45b04e
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 0x45b19e
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 0x45b0c5
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edx
lea eax, [0x60dac0]
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.004476d0
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 [0x816df0]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x45b0df
mov dword [ebx + ecx*4], edx
jmp 0x45b0f0
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, edx
call fcn.0045e5d0
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 0x45b162
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [0x605a80]
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.004476d0
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 [0x816df0]
lea ebp, [edi + ecx*4]
test ebx, ebx
jne 0x45b186
mov ebx, dword [esp + 0x58]
mov dword [edi + ecx*4], ebx
jmp 0x45b035
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x58]
call fcn.0045e5d0
mov eax, ebx
mov edi, ecx
jmp 0x45b035
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.0045e650
nop
call fcn.0045d190
jmp fcn.0045af20