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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4463ac
add esp, 0xffffff80
lea edi, [esp + 0x88]
xor eax, eax
call fcn.004595e6
mov ecx, dword [esp + 0x84]
jmp 0x445e39
mov ecx, dword [esp + 0x84]
xor eax, eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x38], edx
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x54], ebx
cmp edx, 2
jge 0x446379
mov ebp, dword [ecx + 4]
mov edi, ebx
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x4461c1
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0x579ba0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x4461b3
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.00446ff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x445fb7
mov ecx, dword [0x55ce30]
test ecx, ecx
je 0x445e30
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004463c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + eax]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 4]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
cmp ebx, esi
ja 0x445f69
cmp ebx, edx
jb 0x4463a2
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], edi
lea ecx, [0x4bcc40]
mov dword [esp], ecx
sub esi, edx
lea edx, [edx + edx*4]
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 3
sar esi, 0x1f
and esi, edx
lea edx, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0040f3c0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x84]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [0x579ba0]
test eax, eax
jne 0x445f51
mov ecx, dword [esp + 0x50]
mov dword [edi + 0xc], ecx
jmp 0x445e30
mov eax, edi
mov edi, dword [esp + 0x54]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.004593e0
mov edi, ecx
jmp 0x445e30
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ebp
lea eax, [0x4bcc40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00441c70
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x4c]
jmp 0x445ee2
mov edx, dword [eax]
test edx, edx
jne 0x445fc0
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x4461ac
lea esi, [ebx - 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00447650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
cmp byte [edx + 0x27], 3
ja 0x446198
xor ebx, ebx
test ebx, ebx
jne 0x446102
mov ebx, edx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x58]
mov ebp, eax
xor eax, eax
call fcn.004595e6
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0xc]
mov esi, ecx
mov ecx, dword [ecx + 0x14]
cmp ebx, ecx
ja 0x4460a9
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [0x579ba0]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*8]
test ecx, ecx
jne 0x446088
lea esi, [esp + 0x58]
call fcn.00459a9c
jmp 0x445e30
lea eax, [0x4bcc40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0040f2a0
xor eax, eax
jmp 0x445e30
lea eax, [0x4bcc40]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00441c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x14], edx
mov edx, dword [0x579ba0]
test edx, edx
jne 0x4460f7
mov dword [ebx + 0xc], eax
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
jmp 0x446063
mov edi, dword [esp + 0x54]
call fcn.004593e0
jmp 0x4460ea
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
call fcn.00447d00
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x44615e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, edx
mov edx, eax
mov eax, ebp
jmp 0x44600d
cmp eax, 0x100000
jae 0x446398
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00447770
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor eax, eax
jmp 0x44614f
lea ebp, [edx + 0x27]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0xd]
mov ebx, dword [ebp]
jmp 0x446003
mov esi, ebx
jmp 0x445fd3
mov edi, ecx
mov eax, edx
call fcn.004593e0
jmp 0x445e89
mov edx, dword [esp + 0x38]
test edx, edx
je 0x44636d
cmp edx, 1
jne 0x446280
mov eax, edi
lea edi, [esp + 0x88]
call fcn.00459a9c
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x579ba0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x446275
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x446227
test eax, eax
setg al
mov byte [esp + 0xb0], al
sub esp, 0xffffff80
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004478c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x38]
jmp 0x446217
mov edi, eax
mov eax, ebx
call fcn.004593e0
jmp 0x446209
cmp edx, 2
jne 0x446316
mov eax, edi
lea edi, [esp + 0x88]
call fcn.00459a9c
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x44638c
lea edi, [ecx + 0x18]
mov edx, dword [0x579ba0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x4462fa
call fcn.00459a9c
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x579ba0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x4462ec
mov dword [ecx + 0xc], ebx
jmp 0x446209
mov edi, eax
mov eax, ebx
call fcn.004593e0
jmp 0x446209
lea eax, [0x4bcc40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040f2a0
mov eax, dword [esp + 0x54]
jmp 0x4462c2
mov eax, edi
lea edi, [esp + 0x88]
call fcn.00459a9c
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x14]
cmp edx, 1
jb 0x446380
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebp - 1]
mov dword [ecx + 0x14], edx
mov ebp, dword [0x579ba0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebx
test ebp, ebp
jne 0x44635f
mov dword [ecx + 0xc], edx
jmp 0x446209
mov edi, eax
mov eax, edx
call fcn.004593e0
jmp 0x446209
mov byte [esp + 0xb0], 0
sub esp, 0xffffff80
ret
mov edi, ebx
jmp 0x4461c1
mov eax, 1
mov ecx, edx
call fcn.004594c0
mov eax, 1
mov ecx, edx
call fcn.00459460
mov ecx, 0x100000
call fcn.00459460
mov eax, edx
mov ecx, ebx
call fcn.004594c0
nop
call fcn.00457e80
jmp fcn.00445e00