Function at 0x440920
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45ba40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edi, [esi + 0x18]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x24], ebx
je 0x440992
cmp dword [eax - 0xc], ebx
jge 0x440964
mov edx, dword [0x4641a4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x440969
cmp dword [ecx - 0xc], ebx
jge 0x440977
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, edi
call fcn.00408770
jmp 0x44098e
mov ecx, edi
call fcn.00405b60
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x45d394]
test eax, eax
jne 0x4409d6
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], ebx
mov edx, dword [0x4641a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4409cf
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x4409cf
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.0044c87a
add esp, 4
xor eax, eax
jmp 0x440c39
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.main
call fcn.0042a1f0
push ecx
mov byte [esp + 0x30], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push str.POPWINMGR
call fcn.004171e0
mov ecx, esi
mov byte [esp + 0x30], 0
call fcn.0043fa80
push ecx
mov dword [esi + 0x1c], eax
mov eax, dword [0x4641a0]
mov edi, esp
mov ecx, 0x468468
mov dword [esp + 0x18], esp
test ecx, ecx
mov dword [edi], eax
je 0x440a58
push ecx
call dword [0x45d194]
mov ebp, eax
cmp ebp, ebx
je 0x440a58
push ebp
mov ecx, edi
call fcn.00404720
test eax, eax
je 0x440a58
mov edx, dword [edi]
inc ebp
push ebp
push 0x468468
push edx
call fcn.0042b190
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.004055c0
push ecx
mov byte [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.POPWINMGR
call fcn.004171e0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 0
call fcn.0043f8a0
mov edi, eax
mov ecx, dword [esi + 0x10]
mov eax, dword [edi]
lea ebx, [esi + 0x10]
cmp ecx, eax
mov byte [esp + 0x24], 3
je 0x440ad0
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x440aa6
mov edx, dword [0x4641a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x440aad
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x440abb
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, ebx
call fcn.00408770
jmp 0x440ad0
mov ecx, ebx
call fcn.00405b60
mov edi, dword [edi]
mov dword [ebx], edi
add edi, 0xfffffff4
push edi
call dword [0x45d1b4]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4641a4]
mov byte [esp + 0x24], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x440b04
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x440b04
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044c87a
add esp, 4
push ecx
mov ecx, dword [0x4641a0]
mov ebp, esp
mov edx, 0x468464
test edx, edx
mov dword [esp + 0x1c], esp
mov dword [ebp], ecx
je 0x440b52
push edx
call dword [0x45d194]
mov edi, eax
test edi, edi
je 0x440b52
push edi
mov ecx, ebp
call fcn.00404720
test eax, eax
je 0x440b52
mov eax, dword [ebp]
inc edi
push edi
push 0x468464
push eax
call fcn.0042b190
add esp, 0xc
mov ecx, ebp
push 0xffffffffffffffff
call fcn.004055c0
push ecx
mov byte [esp + 0x2c], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.POPWINMGR
call fcn.004171e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
push ecx
mov ecx, esi
call fcn.0043f8a0
mov ebp, eax
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp]
lea edi, [esi + 0x14]
cmp ecx, eax
mov byte [esp + 0x24], 5
je 0x440bcc
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x440ba1
mov edx, dword [0x4641a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x440ba8
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x440bb6
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, edi
call fcn.00408770
jmp 0x440bcc
mov ecx, edi
call fcn.00405b60
mov ebp, dword [ebp]
mov dword [edi], ebp
add ebp, 0xfffffff4
push ebp
call dword [0x45d1b4]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4641a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x440bfb
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x440bfb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044c87a
add esp, 4
mov eax, dword [esi + 0x1c]
xor ecx, ecx
cmp eax, ecx
jle 0x440c28
mov eax, dword [ebx]
mov eax, dword [eax - 8]
cmp eax, ecx
jne 0x440c18
mov edx, dword [edi]
cmp dword [edx - 8], ecx
je 0x440c1f
cmp eax, ecx
je 0x440c28
mov eax, dword [edi]
cmp dword [eax - 8], ecx
je 0x440c28
mov dword [esi + 4], 1
jmp 0x440c2b
mov dword [esi + 4], ecx
mov esi, dword [esi + 4]
lea ecx, [esp + 0x2c]
call fcn.00401c80
mov eax, esi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4