Function at 0x441580
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 0x441b34
sub esp, 0x84
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00452296
mov ecx, dword [esp + 0x88]
jmp 0x4415c0
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 0x441aff
mov ebp, dword [ecx + 4]
mov eax, ebx
mov ebx, dword [ecx + 8]
mov edi, edx
mov edx, dword [ecx]
test ebp, ebp
je 0x44194b
mov esi, dword [edx]
dec ebp
mov dword [ecx + 4], ebp
dec ebx
mov dword [ecx + 8], ebx
mov ebp, dword [0xc6be00]
neg ebx
sar ebx, 0x1f
and ebx, 4
add edx, ebx
test ebp, ebp
jne 0x44193d
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.004428c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x44174c
mov ecx, dword [0xc5747c]
test ecx, ecx
je 0x4415b7
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00441b40
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 0x4416fd
cmp ecx, ebx
ja 0x441b2a
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea ebx, [0x892e40]
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.00410ce0
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 [0xc6be00]
test eax, eax
jne 0x4416e5
mov ecx, dword [esp + 0x54]
mov dword [edi + 0xc], ecx
jmp 0x4415b7
mov eax, edi
mov edi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00451ff0
mov edi, ecx
jmp 0x4415b7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
lea eax, [0x892e40]
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.0043d1d0
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 0x44166b
mov edx, dword [eax]
test edx, edx
jne 0x441755
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x441762
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.00442eb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x23], 4
ja 0x441929
xor ebx, ebx
test ebx, ebx
jne 0x441898
mov ebx, edx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x5c]
lea esi, [0x975e80]
call fcn.0045274c
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 0x441841
lea ebx, [edx + 1]
mov dword [eax + 0x10], ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x44181b
lea esi, [esp + 0x5c]
call fcn.0045274c
jmp 0x4415b7
lea eax, [0x892e40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00410a60
mov eax, dword [esp + 0x88]
jmp 0x4415b7
lea eax, [0x892e40]
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.0043d1d0
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 [0xc6be00]
test edx, edx
jne 0x44188d
mov dword [ebx + 0xc], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x4417f7
mov edi, dword [esp + 0x58]
call fcn.00451ff0
jmp 0x441882
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.004432e0
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x4418ef
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 0x44179c
cmp eax, 0x100000
jae 0x441b20
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.00442f30
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
jmp 0x4418e0
lea ebp, [edx + 0x23]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x441792
mov edi, ecx
mov eax, edx
call fcn.00451ff0
jmp 0x44160e
test edi, edi
je 0x441af0
cmp edi, 1
jne 0x441a07
lea edi, [esp + 0x8c]
call fcn.0045274c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0xc6be00]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x4419fc
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x4419ae
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.00442fc0
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 0x44199b
mov edi, eax
mov eax, ebx
call fcn.00451ff0
jmp 0x44198d
cmp edi, 2
jne 0x441a9b
lea edi, [esp + 0x8c]
call fcn.0045274c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x441b14
lea edi, [ecx + 0x18]
mov edx, dword [0xc6be00]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x441a7f
call fcn.0045274c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0xc6be00]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x441a71
mov dword [ecx + 0xc], ebx
jmp 0x44198d
mov edi, eax
mov eax, ebx
call fcn.00451ff0
jmp 0x44198d
lea eax, [0x892e40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.00410a60
mov eax, dword [esp + 0x58]
jmp 0x441a47
lea edi, [esp + 0x8c]
call fcn.0045274c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
cmp edx, 1
jb 0x441b08
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebx - 1]
mov dword [ecx + 0x14], edx
mov ebx, dword [0xc6be00]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebp
test ebx, ebx
jne 0x441ae2
mov dword [ecx + 0xc], edx
jmp 0x44198d
mov edi, eax
mov eax, edx
call fcn.00451ff0
jmp 0x44198d
mov byte [esp + 0xb4], 0
add esp, 0x84
ret
mov eax, ebx
mov edi, edx
jmp 0x44194b
mov eax, 1
mov ecx, edx
call fcn.004520d0
mov eax, 1
mov ecx, edx
call fcn.00452070
mov ecx, 0x100000
call fcn.00452070
mov eax, ecx
mov ecx, ebx
call fcn.004520d0
nop
call fcn.004507b0
jmp fcn.00441580