Function at 0x1009ce24
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10003ba5
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x1009cea5
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x130], eax
jmp 0x1009ceaf
mov dword [ebp - 0x130], 0x100c28ec
push dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
add ecx, 0x80
call fcn.10003bbe
and dword [ebp - 0x120], 0
push 0
mov ecx, dword [ebp - 0x12c]
add ecx, 0x44
call fcn.10012771
movzx eax, al
test eax, eax
je 0x1009cf16
mov ecx, dword [ebp - 0x12c]
add ecx, 0x44
call fcn.1003338d
mov dword [ebp - 0x134], eax
push 0
push str.LocalModify
push dword [ebp - 0x134]
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009cf74
push 0x100c28fc
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
push 0x2780
push dword [0x100f9204]
call fcn.10099c60
add esp, 0x10
test eax, eax
jne 0x1009cf74
push 0x6b
mov ecx, dword [ebp - 0x12c]
call fcn.10099a53
xor eax, eax
jmp 0x1009d0ee
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.1009c080
cmp dword [ebp - 0x120], 0
je 0x1009cfb2
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
call fcn.1009a2a9
pop ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.1003338d
push eax
lea ecx, [ebp - 0x124]
call fcn.1002411c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.10024135
and word [ebp - 0x11c], 0
push 0xfe
push 0
lea eax, [ebp - 0x11a]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x80
lea eax, [ebp - 0x11c]
push eax
push 0x100c27cc
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.1001dd66
push 0x2001f
push 0x100c2910
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10009b42
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1009d0bb
push 0
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1003338d
push eax
lea ecx, [ebp - 0x14]
call fcn.10009c93
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1009d0ac
push 0
lea ecx, [ebp - 0x124]
call fcn.10010e34
push eax
push str.LocalServer32
lea ecx, [ebp - 0x14]
call fcn.1003b80b
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp - 0x18], 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1009d0aa
push 0x6e
mov ecx, dword [ebp - 0x12c]
call fcn.10099a53
jmp 0x1009d0b9
push 0x6d
mov ecx, dword [ebp - 0x12c]
call fcn.10099a53
jmp 0x1009d0c8
push 0x6c
mov ecx, dword [ebp - 0x12c]
call fcn.10099a53
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x14]
call fcn.10009bb4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.1002c8c8
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006e011
leave
ret 4