Function at 0x45fdf0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a2900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46016d
mov ecx, dword [esp + 0x78]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x46016d
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x78]
mov esi, dword [edx - 8]
lea eax, [esi + 1]
push eax
call fcn.0048c833
mov ecx, dword [esp + 0x78]
cmp byte [esi + ecx - 1], 0x5c
je 0x45fe69
push 0x4c2288
lea ecx, [esp + 0x7c]
call fcn.0048c7df
push 0x4c6dd0
lea ecx, [esp + 0x7c]
call fcn.0048c7df
lea ecx, [esp + 0x30]
call fcn.0046cc50
mov edx, dword [esp + 0x78]
push 0
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 1
call fcn.0046cd13
mov edi, 1
mov bl, 8
lea ecx, [esp + 0x30]
call fcn.0046cf33
test eax, eax
jne 0x45feab
xor edi, edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
call fcn.0046d002
push 0x4cb61c
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.0048a476
test eax, eax
jge 0x460095
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x45ff08
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0048c178
mov ecx, ebp
call fcn.0045fdf0
test eax, eax
jne 0x4600b0
jmp 0x460095
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
call fcn.0046d12b
push 0x4d0e20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 3
call fcn.0048c471
push str._:____
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 4
call fcn.0048c938
test eax, eax
jl 0x460079
push str._:____
lea ecx, [esp + 0x18]
call fcn.0048c938
test eax, eax
jl 0x45ff74
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0048a037
push str._:____
lea ecx, [esp + 0x18]
call fcn.0048c938
test eax, eax
jge 0x45ff56
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push str.ren
push edx
call fcn.0048c70c
push 0x4cb0a8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x78], 5
push eax
call fcn.0048c698
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x7c], 6
call fcn.0048c632
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 7
call fcn.0048c53c
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 6
call fcn.0048c403
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 5
call fcn.0048c403
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 4
call fcn.0048c403
mov eax, dword [esp + 0x18]
push eax
call fcn.00479444
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0046cc50
mov ecx, dword [esp + 0x78]
push 0
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], bl
call fcn.0046cd13
mov esi, 1
lea ecx, [esp + 0x4c]
call fcn.0046cf33
test eax, eax
jne 0x460029
xor esi, esi
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x4c]
push edx
call fcn.0046d002
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0047514f
add esp, 8
mov byte [esp + 0x70], bl
test eax, eax
lea ecx, [esp + 0x1c]
je 0x4600e7
call fcn.0048c403
test esi, esi
jne 0x46001a
lea ecx, [esp + 0x4c]
call fcn.0046ccc9
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call fcn.0046cc8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0048c403
test edi, edi
je 0x46014a
jmp 0x45fe9c
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0048c403
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0
call fcn.0046cc8d
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0048c403
mov eax, 0xfffffffe
jmp 0x460181
call fcn.0048c403
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call fcn.0046cc8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0048c403
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0
call fcn.0046cc8d
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0048c403
mov eax, 0xfffffffd
jmp 0x460181
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0
call fcn.0046cc8d
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0048c403
xor eax, eax
jmp 0x460181
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0048c403
or eax, 0xffffffff
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 4