Function at 0x48a07f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5703e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x5be480]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push str.windir
call fcn.0053842e
add esp, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0054d39c
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0054a7e6
cmp eax, 1
jle 0x48a10c
push 0x5b4378
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0054d5cd
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0054d46f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0054d328
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x140]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x5b437c
lea eax, [ebp - 0x14]
push eax
call fcn.0054ab7c
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a337
mov dword [ebp - 0x24], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x48a1a1
lea edx, [ebp - 0x1c]
push edx
push 0x58c814
push 1
push 0
push 0x58c7f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x48a19f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
jmp 0x48a352
jmp 0x48a1c1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
jmp 0x48a352
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x20]
push eax
push 0x58c824
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x24], 0
jge 0x48a224
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
jmp 0x48a352
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 0x14]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x48a263
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
jmp 0x48a352
mov word [ebp - 0x18], 1
push 0
push 0
push 0x184
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov word [ebp - 0x18], 0
jmp 0x48a296
mov dx, word [ebp - 0x18]
add dx, 1
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 0x28]
and ecx, 0xffff
cmp eax, ecx
jge 0x48a31b
lea edx, [ebp - 0x2c]
push edx
mov ax, word [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 0x1c]
cmp dword [ebp - 0x24], 0
jge 0x48a2e9
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
jmp 0x48a352
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0054d4bf
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0x180
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x48a28a
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret