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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x440644
sub esp, 0x84
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00450566
mov ecx, dword [esp + 0x88]
jmp 0x4400d0
mov edx, dword [esp + 0x88]
mov ecx, edx
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x58], ebx
cmp edx, 2
jge 0x44060f
mov ebp, dword [ecx + 4]
mov eax, ebx
mov ebx, dword [ecx + 8]
mov edi, edx
mov edx, dword [ecx]
test ebp, ebp
je 0x44045b
mov esi, dword [edx]
dec ebp
mov dword [ecx + 4], ebp
dec ebx
mov dword [ecx + 8], ebx
mov ebp, dword [0x823e50]
neg ebx
sar ebx, 0x1f
and ebx, 4
add edx, ebx
test ebp, ebp
jne 0x44044d
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.00441320
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x44025c
mov ecx, dword [0x8103a0]
test ecx, ecx
je 0x4400c7
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00440650
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 8]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp ebx, esi
ja 0x44020d
cmp ecx, ebx
ja 0x44063a
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea ebx, [0x62efe0]
mov dword [esp], ebx
lea ebx, [ecx + ecx*4]
sub esi, ecx
shl ebx, 3
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.00410090
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [0x823e50]
test eax, eax
jne 0x4401f5
mov ecx, dword [esp + 0x54]
mov dword [edi + 0xc], ecx
jmp 0x4400c7
mov eax, edi
mov edi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.004502e0
mov edi, ecx
jmp 0x4400c7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
lea eax, [0x62efe0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043bce0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
jmp 0x44017b
mov edx, dword [eax]
test edx, edx
jne 0x440265
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x440272
dec ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00441910
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x23], 4
ja 0x440439
xor ebx, ebx
test ebx, ebx
jne 0x4403a8
mov ebx, edx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x5c]
lea esi, [0x6a0480]
call fcn.00450a1c
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x14]
mov eax, ecx
mov ecx, dword [ecx + 0xc]
cmp ebx, ebp
ja 0x440351
lea ebx, [edx + 1]
mov dword [eax + 0x10], ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [0x823e50]
test ecx, ecx
jne 0x44032b
lea esi, [esp + 0x5c]
call fcn.00450a1c
jmp 0x4400c7
lea eax, [0x62efe0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0040fe50
mov eax, dword [esp + 0x88]
jmp 0x4400c7
lea eax, [0x62efe0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043bce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x14], edx
mov edx, dword [0x823e50]
test edx, edx
jne 0x44039d
mov dword [ebx + 0xc], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x440307
mov edi, dword [esp + 0x58]
call fcn.004502e0
jmp 0x440392
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
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
call fcn.00441d40
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x4403ff
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov ebp, edx
mov edx, eax
mov eax, ebp
jmp 0x4402ac
cmp eax, 0x100000
jae 0x440630
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00441990
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
jmp 0x4403f0
lea ebp, [edx + 0x23]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x4402a2
mov edi, ecx
mov eax, edx
call fcn.004502e0
jmp 0x44011e
test edi, edi
je 0x440600
cmp edi, 1
jne 0x440517
lea edi, [esp + 0x8c]
call fcn.00450a1c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x823e50]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x44050c
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x4404be
test eax, eax
setg al
mov byte [esp + 0xb4], al
add esp, 0x84
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.00441a20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
jmp 0x4404ab
mov edi, eax
mov eax, ebx
call fcn.004502e0
jmp 0x44049d
cmp edi, 2
jne 0x4405ab
lea edi, [esp + 0x8c]
call fcn.00450a1c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x440624
lea edi, [ecx + 0x18]
mov edx, dword [0x823e50]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x44058f
call fcn.00450a1c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x823e50]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x440581
mov dword [ecx + 0xc], ebx
jmp 0x44049d
mov edi, eax
mov eax, ebx
call fcn.004502e0
jmp 0x44049d
lea eax, [0x62efe0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040fe50
mov eax, dword [esp + 0x58]
jmp 0x440557
lea edi, [esp + 0x8c]
call fcn.00450a1c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
cmp edx, 1
jb 0x440618
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebx - 1]
mov dword [ecx + 0x14], edx
mov ebx, dword [0x823e50]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebp
test ebx, ebx
jne 0x4405f2
mov dword [ecx + 0xc], edx
jmp 0x44049d
mov edi, eax
mov eax, edx
call fcn.004502e0
jmp 0x44049d
mov byte [esp + 0xb4], 0
add esp, 0x84
ret
mov eax, ebx
mov edi, edx
jmp 0x44045b
mov eax, 1
mov ecx, edx
call fcn.004503c0
mov eax, 1
mov ecx, edx
call fcn.00450360
mov ecx, 0x100000
call fcn.00450360
mov eax, ecx
mov ecx, ebx
call fcn.004503c0
nop
call fcn.0044eaa0
jmp fcn.00440090