Function at 0x1012b6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f593
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.1010be30
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x1024], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1022]
push ecx
call fcn.10108c60
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1024]
push edx
call fcn.101274b0
add esp, 8
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x1012b796
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov eax, dword [ebp - 0x820]
push eax
push str._cur__gir___u
push 0x1019d688
call fcn.10128830
add esp, 0xc
mov eax, dword [ebp - 0x820]
jmp 0x1012b9e6
xor ecx, ecx
mov word [ebp - 0x81c], cx
push 0x7fe
push 0
lea edx, [ebp - 0x81a]
push edx
call fcn.10108c60
add esp, 0xc
mov dword [ebp - 0x18], 0x400
lea ecx, [ebp - 0x14]
call fcn.100013d0
mov dword [ebp - 4], 0
call fcn.10128ff0
push eax
lea eax, [ebp - 0x1024]
push eax
push closesocket
lea ecx, [ebp - 0x14]
call fcn.10001470
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
jne 0x1012b978
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x81c]
push edx
push str.InstallLocation
lea ecx, [ebp - 0x14]
call fcn.100015a0
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
jne 0x1012b921
push 0x10179e18
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x81c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1012b8bc
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x81c]
push eax
call fcn.101262d0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1012b8ba
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x820]
push eax
push str._cur__svf___u___s
push 0x1019d688
call fcn.10128830
add esp, 0x10
mov ecx, dword [ebp - 0x820]
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001400
mov eax, dword [ebp - 0x1028]
jmp 0x1012b9e6
jmp 0x1012b91f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x820], eax
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x820]
push eax
push str._cur__asdsvc.exe_not_exist__u___s_
push 0x1019d688
call fcn.10128830
add esp, 0x10
mov ecx, dword [ebp - 0x820]
mov dword [ebp - 0x102c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001400
mov eax, dword [ebp - 0x102c]
jmp 0x1012b9e6
jmp 0x1012b96e
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov edx, dword [ebp - 0x820]
push edx
push str._cur__InstallLocation_not_exist__u_
push 0x1019d688
call fcn.10128830
add esp, 0xc
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x1030], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001400
mov eax, dword [ebp - 0x1030]
jmp 0x1012b9e6
lea ecx, [ebp - 0x14]
call fcn.10001420
jmp 0x1012b9c5
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov ecx, dword [ebp - 0x820]
push ecx
push str._cur__reg_open_failed__u_
push 0x1019d688
call fcn.10128830
add esp, 0xc
mov edx, dword [ebp - 0x820]
mov dword [ebp - 0x1034], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001400
mov eax, dword [ebp - 0x1034]
jmp 0x1012b9e6
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x1038], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001400
mov eax, dword [ebp - 0x1038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10108bbf
mov esp, ebp
pop ebp
ret