Function at 0x440060
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a1b2a
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4d7488]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d7488]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov ebp, dword [esp + 0xc4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x18], 8
mov dword [esp + 0x34], esi
jb 0x4400c5
mov eax, dword [edi + 4]
jmp 0x4400c8
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44029c
cmp dword [edi + 0x14], ebx
je 0x44029c
lea edx, [esp + 0x8c]
mov ecx, edi
call fcn.004403c0
mov dword [esp + 0xb4], 3
lea eax, [esp + 0x54]
push eax
call fcn.0043f790
mov byte [esp + 0xb4], 4
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.00440500
mov byte [esp + 0xb4], 5
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0043f7f0
mov byte [esp + 0xb4], 6
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00440060
add esp, 0xc
mov byte [esp + 0xb4], 8
cmp dword [esp + 0x30], 8
jb 0x440165
mov edx, dword [esp + 0x1c]
push edx
call fcn.00482970
add esp, 4
mov edi, 7
xor eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
mov byte [esp + 0xb4], 0xb
cmp dword [esp + 0x50], 8
jb 0x440195
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00482970
add esp, 4
lea eax, [esp + 0x8c]
xor edx, edx
mov dword [esp + 0x4c], ebx
push eax
lea ebx, [esp + 0x58]
mov dword [esp + 0x54], edi
mov word [esp + 0x40], dx
call fcn.0040c427
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebp
call fcn.00403dd9
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x78]
xor edx, edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00403dd9
mov byte [esp + 0xb4], 0xd
mov eax, esi
call fcn.0040c922
mov byte [esp + 0xb4], 0xb
mov dword [esp + 0x14], 1
mov byte [esp + 0xb4], 4
mov ebp, 8
cmp dword [esp + 0x88], ebp
jb 0x440223
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00482970
add esp, 4
xor edx, edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
mov byte [esp + 0xb4], 3
cmp dword [esp + 0x6c], ebp
jb 0x440253
mov eax, dword [esp + 0x58]
push eax
call fcn.00482970
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xa4], ebp
jb 0x440282
mov edx, dword [esp + 0x90]
push edx
call fcn.00482970
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
jmp 0x4402d5
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00403dd9
mov edi, 1
mov dword [esp + 0xb4], edi
mov eax, esi
call fcn.0040c922
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x14], edi
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0048297b
add esp, 0xa4
ret