Function at 0x100a6a31
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be70e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x100ed3e0]
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.10003cf8
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x100a6ab2
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x130], eax
jmp 0x100a6abc
mov dword [ebp - 0x130], 0x100d124c
push dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
add ecx, 0x80
call fcn.10003d11
and dword [ebp - 0x120], 0
push 0
mov ecx, dword [ebp - 0x12c]
add ecx, 0x44
call fcn.10038395
movzx eax, al
test eax, eax
je 0x100a6b23
mov ecx, dword [ebp - 0x12c]
add ecx, 0x44
call fcn.10010b64
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.10010b64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a6b83
push 0
push 0x100d125c
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
push 0x2780
push dword [0x10109268]
call fcn.100a51ed
add esp, 0x14
test eax, eax
jne 0x100a6b83
push 0x6b
mov ecx, dword [ebp - 0x12c]
call fcn.100a1d70
xor eax, eax
jmp 0x100a6cfd
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.100a493b
cmp dword [ebp - 0x120], 0
je 0x100a6bc1
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
call fcn.100a286a
pop ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84
call fcn.10010b64
push eax
lea ecx, [ebp - 0x124]
call fcn.10024f73
and dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.10024f8c
and word [ebp - 0x11c], 0
push 0xfe
push 0
lea eax, [ebp - 0x11a]
push eax
call fcn.10071b20
add esp, 0xc
push 0x80
lea eax, [ebp - 0x11c]
push eax
push 0x100d11d0
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.1001e317
push 0x2001f
push 0x100d1270
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.10009ba6
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100a6cca
push 0
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10010b64
push eax
lea ecx, [ebp - 0x14]
call fcn.10009d24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100a6cbb
push 0
lea ecx, [ebp - 0x124]
call fcn.100317eb
push eax
push str.LocalServer32
lea ecx, [ebp - 0x14]
call fcn.1003e83d
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 0x100a6cb9
push 0x6e
mov ecx, dword [ebp - 0x12c]
call fcn.100a1d70
jmp 0x100a6cc8
push 0x6d
mov ecx, dword [ebp - 0x12c]
call fcn.100a1d70
jmp 0x100a6cd7
push 0x6c
mov ecx, dword [ebp - 0x12c]
call fcn.100a1d70
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x14]
call fcn.10009c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.1002467f
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.10071b0a
leave
ret 4