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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x446101
sub esp, 0x34
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov ebx, dword [esp + 0x38]
mov ebp, ebx
mov esi, dword [esp + 0x3c]
sub esi, ebp
lea edi, [esi - 1]
test esi, edi
jne 0x4460ea
mov edi, dword [0x522e48]
test edi, edi
jne 0x445f43
cmp esi, 0x8000
jae 0x445ecc
mov eax, esi
xor ecx, ecx
jmp 0x446008
mov eax, dword [0x502c1c]
test byte [eax], al
nop
nop
mov dword [esp + 0x28], ebx
mov ecx, ebp
shr ebp, 0x16
mov eax, dword [eax + ebp*4]
shr ecx, 0xd
and ecx, 0x1ff
mov ecx, dword [eax + ecx*4 + 0x21000]
mov dword [esp + 0x14], ecx
test byte [ecx], al
test byte [eax], al
nop
lea eax, [ecx + 0x3b]
mov dword [esp], eax
call fcn.00401f70
cmp byte [esp + 4], 2
jne 0x445fb0
mov eax, dword [0x522b5c]
test eax, eax
je 0x445f26
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x445f5a
lea eax, [0x502b40]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004245d0
jmp 0x445f53
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004112b0
add esp, 0x34
ret
add esp, 0x34
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x445f57
mov dword [esp + 0x18], edx
nop
lea eax, [0x523180]
mov dword [esp], eax
call fcn.00408630
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jae 0x445fa6
lea ecx, [0x523184]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00424c80
nop
nop
lea eax, [0x523180]
mov dword [esp], eax
call fcn.00408830
jmp 0x445f53
mov ecx, 0x13
call fcn.0045abb0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
call fcn.00434060
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.004347e0
call fcn.00434240
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004348e0
call fcn.00434280
call fcn.004340d0
lea eax, [0x489559]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004328b0
inc ecx
shr esi, 1
cmp esi, 0x1000
ja 0x446005
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x58]
test ebx, ebx
je 0x446021
mov edx, dword [edx + 0x78]
test edx, edx
je 0x446071
movzx eax, cl
cmp eax, 3
jae 0x4460e0
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x523220]
add eax, ecx
mov dword [esp + 0x2c], eax
nop
mov dword [esp], eax
call fcn.00408630
mov eax, dword [esp + 0x38]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call fcn.004457d0
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00408830
jmp 0x445f53
mov edx, dword [ebx + 0x30]
test byte [edx], al
movzx ebx, cl
cmp ebx, 3
jae 0x4460d4
lea esi, [edx + ebx*8 + 0x238]
cmp dword [esi], 0x8000
jb 0x4460bd
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
mov dword [esp], edx
mov byte [esp + 4], cl
call fcn.00445a00
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, ebp
lea edx, [edx + ebx*8 + 0x234]
mov ebx, dword [edx]
mov dword [ebp], ebx
mov dword [edx], ecx
add dword [esi], eax
jmp 0x445f53
mov eax, ebx
mov ecx, 3
call fcn.0045abb0
mov ecx, 3
call fcn.0045abb0
lea eax, [0x48b4bb]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.004328b0
nop
call fcn.00458610
jmp fcn.00445e70