Function at 0x10010fd0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c8ea
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], ecx
push 0xc
lea ecx, [ebp - 0x828]
call fcn.10005000
lea ecx, [ebp - 0x828]
call fcn.1003f3f0
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x818]
call fcn.10005000
lea ecx, [ebp - 0x818]
call fcn.10007cc0
mov byte [ebp - 4], 1
push 0x101e067c
mov eax, dword [ebp - 0x84c]
mov ecx, dword [eax + 0x64]
push ecx
push 0x101e069c
lea edx, [ebp - 0x818]
push edx
call fcn.10012d00
add esp, 0x10
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.10155d20
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x840]
push eax
call fcn.1001f790
push 0
push 0
push 0
mov ecx, dword [ebp - 0x84c]
mov edx, dword [ecx + 0x14]
push edx
lea ecx, [ebp - 0x8cc]
call fcn.1001f6a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x840]
call fcn.1001f740
push 4
lea ecx, [ebp - 0x814]
call fcn.10005000
lea ecx, [ebp - 0x814]
call fcn.10007cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x838]
push ecx
lea ecx, [ebp - 0x848]
call fcn.1001f5f0
push 4
lea ecx, [ebp - 0x81c]
call fcn.10005000
push 0x101e06a8
lea ecx, [ebp - 0x81c]
call fcn.1000af00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100112bb
mov edx, dword [ebp - 0x84c]
movzx eax, byte [edx + 0xd]
test eax, eax
je 0x100112bb
push 0x5c
lea ecx, [ebp - 0x818]
call fcn.10012130
push eax
lea ecx, [ebp - 0x8bc]
push ecx
lea ecx, [ebp - 0x818]
call fcn.10012020
mov dword [ebp - 0x8b4], eax
mov edx, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b8], edx
mov byte [ebp - 4], 4
push 0
push 0
push 0
mov ecx, dword [ebp - 0x8b8]
call fcn.100055d0
push eax
push 0
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x81c]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x828]
call fcn.1003f9e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8bc]
call fcn.10009c10
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x828]
call fcn.10040120
mov dword [ebp - 0x8c0], eax
mov ecx, dword [ebp - 0x8c0]
mov dword [ebp - 0x850], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x850]
push eax
lea ecx, [ebp - 0x85c]
push ecx
call fcn.10005430
add esp, 0xc
mov dword [ebp - 0x854], eax
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x858], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x814]
call fcn.10005520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x85c]
call fcn.10009c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x860]
call fcn.10009c10
push 0x101e06b4
lea ecx, [ebp - 0x814]
call fcn.1001fb50
lea ecx, [ebp - 0x814]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100112bb
call fcn.1003ecb0
test eax, eax
je 0x10011297
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebb0
mov ecx, dword [ebp - 0x84c]
cmp dword [ecx + 0x14], 0
jle 0x100112bb
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov edx, eax
lea ecx, [ebp - 0x838]
call fcn.1003ef10
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100113f1
mov edx, dword [ebp - 0x84c]
movzx eax, byte [edx + 0x1b]
test eax, eax
je 0x100113f1
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
push 0x101e06c0
lea ecx, [ebp - 0x828]
call fcn.1003fbe0
lea ecx, [ebp - 0x878]
push ecx
lea ecx, [ebp - 0x828]
call fcn.10040100
mov dword [ebp - 0x864], eax
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x868], edx
mov byte [ebp - 4], 7
push 0x101e06d4
mov eax, dword [ebp - 0x868]
push eax
lea ecx, [ebp - 0x874]
push ecx
call fcn.10005370
add esp, 0xc
mov dword [ebp - 0x86c], eax
mov edx, dword [ebp - 0x86c]
mov dword [ebp - 0x870], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x870]
push eax
lea ecx, [ebp - 0x814]
call fcn.10005520
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x874]
call fcn.10009c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x878]
call fcn.10009c10
push 0x101e06e8
lea ecx, [ebp - 0x814]
call fcn.1001fb50
lea ecx, [ebp - 0x814]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100113f1
call fcn.1003ecb0
test eax, eax
je 0x100113cd
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebb0
mov ecx, dword [ebp - 0x84c]
cmp dword [ecx + 0x14], 0
jle 0x100113f1
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov edx, eax
lea ecx, [ebp - 0x838]
call fcn.1003ef10
push str.uninst.exe
mov edx, dword [ebp - 0x84c]
add edx, 0x64
push edx
lea eax, [ebp - 0x880]
push eax
call fcn.10005370
add esp, 0xc
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp - 0x87c]
mov dword [ebp - 0x8c4], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x8c4]
push edx
lea ecx, [ebp - 0x818]
call fcn.10005520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x880]
call fcn.10009c10
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001157c
mov eax, dword [ebp - 0x84c]
movzx ecx, byte [eax + 0x1b]
test ecx, ecx
je 0x1001157c
lea ecx, [ebp - 0x818]
call fcn.100055d0
push eax
push 0x101e070c
lea ecx, [ebp - 0x828]
call fcn.1003fbe0
lea edx, [ebp - 0x898]
push edx
lea ecx, [ebp - 0x828]
call fcn.10040100
mov dword [ebp - 0x884], eax
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x888], eax
mov byte [ebp - 4], 0xa
push 0x101e0728
mov ecx, dword [ebp - 0x888]
push ecx
lea edx, [ebp - 0x894]
push edx
call fcn.10005370
add esp, 0xc
mov dword [ebp - 0x88c], eax
mov eax, dword [ebp - 0x88c]
mov dword [ebp - 0x890], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x890]
push ecx
lea ecx, [ebp - 0x814]
call fcn.10005520
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x894]
call fcn.10009c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x898]
call fcn.10009c10
push 0x101e0744
lea ecx, [ebp - 0x814]
call fcn.1001fb50
lea ecx, [ebp - 0x814]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001157c
call fcn.1003ecb0
test eax, eax
je 0x10011558
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebb0
mov edx, dword [ebp - 0x84c]
cmp dword [edx + 0x14], 0
jle 0x1001157c
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov edx, eax
lea ecx, [ebp - 0x838]
call fcn.1003ef10
lea eax, [ebp - 0x8b0]
push eax
lea ecx, [ebp - 0x828]
call fcn.10040100
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a0], ecx
mov byte [ebp - 4], 0xc
push 0x101e0750
mov edx, dword [ebp - 0x8a0]
push edx
lea eax, [ebp - 0x8ac]
push eax
call fcn.10005370
add esp, 0xc
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - 0x8a8], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x8a8]
push edx
lea ecx, [ebp - 0x814]
call fcn.10005520
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8ac]
call fcn.10009c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8b0]
call fcn.10009c10
lea ecx, [ebp - 0x814]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001165a
call fcn.1003ecb0
test eax, eax
je 0x10011636
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebb0
mov eax, dword [ebp - 0x84c]
cmp dword [eax + 0x14], 0
jle 0x1001165a
lea ecx, [ebp - 0x814]
call fcn.100055d0
mov edx, eax
lea ecx, [ebp - 0x838]
call fcn.1003ef10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x81c]
call fcn.10009c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x814]
call fcn.10009c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x818]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.1003f550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret