Function at 0x44f560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed276
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x80]
call fcn.004036e0
xor edi, edi
push edi
mov ecx, eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00409320
add esp, 4
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], esi
jb 0x44f5c3
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x1c], edi
jne 0x44f5f2
cmp dword [ebp - 0x18], esi
jb 0x44f883
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
add esp, 4
jmp 0x44f883
push 0x50ccc0
mov ebx, 1
lea edi, [ebp - 0x2c]
call fcn.0040ebe0
cmp eax, 0xffffffff
jne 0x44f623
cmp dword [ebp - 0x18], esi
jb 0x44f883
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
jmp 0x44f883
push eax
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406370
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00406400
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], esi
jb 0x44f65b
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b6106
add esp, 4
push 1
push ebx
push 0x50ccc0
lea ecx, [ebp - 0x2c]
call fcn.00411bb0
cmp eax, 0xffffffff
je 0x44f609
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406370
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00406400
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x44f6a9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
add esp, 4
mov eax, dword [ebp - 0x1c]
push 0x50c6cc
mov edi, 2
lea ecx, [ebp - 0x2c]
call fcn.00405550
test eax, eax
jne 0x44f87b
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
xor edx, edx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.004036e0
push ebx
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x9c]
mov edx, eax
mov byte [ebp - 4], 8
call fcn.00407ab0
mov edi, 8
add esp, 0xc
mov byte [ebp - 4], 7
mov bl, al
cmp dword [ebp - 0x34], edi
jb 0x44f749
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
add esp, 4
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test bl, bl
je 0x44f765
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x44f75e
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
jne 0x44f7b7
lea ecx, [ebp - 0x48]
call fcn.004036e0
push 1
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x9c]
mov edx, eax
mov byte [ebp - 4], 9
call fcn.00407ab0
add esp, 0xc
mov byte [ebp - 4], 7
mov bl, al
cmp dword [ebp - 0x34], edi
jb 0x44f7a5
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
add esp, 4
test bl, bl
je 0x44f7b7
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x44f7b4
lea eax, [ebp - 0x64]
push eax
call esi
call fcn.0040c5c0
test al, al
je 0x44f80d
push 0x50b6b4
lea ecx, [ebp - 0x80]
call fcn.00406d20
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.00403c30
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], edi
jb 0x44f7e4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x44f7ef
lea ecx, [ebp - 0x64]
push eax
push ecx
call fcn.0040d140
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.00406760
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00401ea0
push 0x50b6b4
lea ecx, [ebp - 0x48]
call fcn.00406d20
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
call fcn.00403b30
lea ecx, [ebp - 0x48]
call fcn.00401ea0
mov esi, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], edi
jae 0x44f848
lea esi, [ebp - 0xd4]
push 0x10
call fcn.004301e0
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.00406760
lea ecx, [ebp - 0x9c]
call fcn.00406760
lea ecx, [ebp - 0xb8]
call fcn.00406760
lea ecx, [ebp - 0x64]
call fcn.00406760
lea ecx, [ebp - 0x2c]
call fcn.00406760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b6111
mov esp, ebp
pop ebp
ret