Function at 0x10001380
Capabilities:
Check if file exists
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
push esi
push edi
call fcn.10002fd0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100013a6
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10002ed0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x10001ea5
cmp dword [esp + 0xb0], 0
je 0x10001ea5
push 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x1c], vtable.CStringBufferW.0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call fcn.10004f50
mov esi, dword [esp + 0x24]
push 8
push str.Software
push dword [esp + 0x28]
push esi
call fcn.1000a730
mov edi, dword [esp + 0xc8]
add esp, 0x10
mov eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 9
test edi, edi
je 0x1000146b
movzx eax, word [esi + 0xe]
cmp eax, 0x5c
je 0x10001455
cmp eax, 0x2f
je 0x10001455
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.10004df0
push edi
lea ecx, [esp + 0x1c]
call fcn.10004e80
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x1000148b
mov esi, dword [esp + 0x24]
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x10001480
movzx eax, word [esi + ecx*2]
cmp eax, 0x5c
je 0x1000148b
cmp eax, 0x2f
je 0x1000148b
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.10004df0
push str.Toolbar
lea ecx, [esp + 0x1c]
call fcn.10004e80
mov edi, dword [esp + 0x24]
push 0
lea eax, [esp + 0x7c]
push eax
push str.AutoUpdateHelperPath
push edi
push 0x80000002
mov dword [esp + 0x8c], vtable.CStringBufferW.0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
call fcn.10006270
test eax, eax
je 0x100014f9
cmp dword [esp + 0x84], 0
je 0x100014f9
cmp dword [esp + 0x7c], 0
jne 0x100016f0
lea eax, [esp + 0x28]
push eax
call fcn.100035a0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10001e4f
cmp dword [esp + 0x2c], 0
je 0x10001e4f
mov eax, dword [0x100297e8]
test eax, eax
jne 0x10001535
cmp dword [0x100297e0], eax
jne 0x1000157c
call fcn.100032f0
mov eax, dword [0x100297e8]
cmp eax, 6
jb 0x1000157c
push ecx
lea ecx, [esp + 0x2c]
call fcn.10005370
push eax
push 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x34]
call fcn.10005230
push eax
lea ecx, [esp + 0x2c]
call fcn.10004c50
lea ecx, [esp + 0x9c]
call fcn.10004950
push 0x10021750
lea ecx, [esp + 0x2c]
call fcn.10004e30
push 0
lea eax, [esp + 0xa0]
push eax
push str.SponsorId
push edi
push 0x80000002
mov dword [esp + 0xb0], vtable.CStringBufferW.0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
call fcn.10006270
test eax, eax
je 0x10001e38
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x10001e38
cmp dword [esp + 0xa0], 0
je 0x10001e38
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.10004990
push str.Conduit
lea ecx, [esp + 0x3c]
call fcn.10004e30
push esi
lea ecx, [esp + 0x3c]
call fcn.10004e30
lea eax, [esp + 0x38]
push eax
call fcn.100072e0
test eax, eax
jne 0x10001658
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10001635
cmp dword [esp + 0x3c], 0
je 0x10001635
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001658
lea ecx, [esp + 0x38]
mov esi, 0x80004005
call fcn.10004950
lea ecx, [esp + 0x9c]
call fcn.10004950
mov eax, dword [esp + 0x34]
jmp 0x10001e54
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x4c]
call fcn.10004990
push str.AutoUpdaterHelper.exe
lea ecx, [esp + 0x4c]
call fcn.10004ca0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.10004c50
push dword [esp + 0x54]
lea ecx, [esp + 0x7c]
call fcn.10004e30
lea eax, [esp + 0x78]
push eax
push ecx
push edi
push ecx
call fcn.100060d0
lea ecx, [esp + 0x48]
test eax, eax
jne 0x100016cd
lea esi, [eax + 1]
call fcn.10004950
lea ecx, [esp + 0x38]
call fcn.10004950
lea ecx, [esp + 0x9c]
call fcn.10004950
mov eax, dword [esp + 0x34]
jmp 0x10001e54
call fcn.10004950
lea ecx, [esp + 0x38]
call fcn.10004950
lea ecx, [esp + 0x9c]
call fcn.10004950
lea ecx, [esp + 0x28]
call fcn.10004950
lea ecx, [esp + 0x78]
call fcn.100011b0
test eax, eax
jne 0x10001705
lea esi, [eax + 1]
jmp 0x10001e69
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
call fcn.10002e50
cmp dword [esp + 0x94], 0
je 0x10001736
cmp dword [esp + 0x8c], 0
je 0x10001736
lea ecx, [esp + 0x88]
call fcn.100021c0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10005370
mov ecx, dword [esp + 0x8c]
inc eax
sub ecx, eax
push ecx
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x94]
call fcn.10005230
push eax
lea ecx, [esp + 0x8c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
push 0
lea eax, [esp + 0x3c]
push eax
push str.ComId
push edi
push 0x80000002
mov dword [esp + 0x4c], vtable.CStringBufferW.0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
call fcn.10006270
cmp dword [esp + 0x44], 0
je 0x10001e1c
cmp dword [esp + 0x3c], 0
je 0x10001e1c
push str.30F9B915_B755_4826_820B_08FBA6BD249D
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], vtable.CStringBufferW.0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
call fcn.10005600
test eax, eax
push 0
lea eax, [esp + 0x2c]
push eax
je 0x10001803
push str.EngineHelperFileName
jmp 0x10001808
push str.ToolbarHelperFileName
push edi
push 0x80000002
call fcn.10006270
lea ecx, [esp + 0x28]
call fcn.10005020
test eax, eax
je 0x1000182f
mov esi, 0x80004005
call fcn.10004950
jmp 0x10001e21
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.10005400
cmp eax, 0xffffffff
je 0x1000186a
mov ecx, dword [esp + 0x2c]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
call fcn.10005230
push eax
lea ecx, [esp + 0x2c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
push ecx
push str.1.exe
lea ecx, [esp + 0x30]
call fcn.10005450
cmp eax, 0xffffffff
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
je 0x100018b0
add eax, 0xfffffffb
push eax
push 0
lea eax, [esp + 0x50]
push eax
call fcn.10005230
push eax
lea ecx, [esp + 0x2c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
push str..exe
jmp 0x100018d8
add eax, 0xfffffffc
push eax
push 0
lea eax, [esp + 0x50]
push eax
call fcn.10005230
push eax
lea ecx, [esp + 0x2c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
push str.1.exe
lea ecx, [esp + 0x2c]
call fcn.10004ca0
push ecx
push str.FALSE
lea ecx, [esp + 0x140]
call fcn.100048e0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x11c]
call fcn.10004990
push str.Settings
lea ecx, [esp + 0x11c]
call fcn.10004e30
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0xe4]
call fcn.10004990
push str.MyStuff
lea ecx, [esp + 0xe4]
call fcn.10004e30
lea ecx, [esp + 0xe0]
call fcn.10001120
test eax, eax
je 0x1000197b
lea ecx, [esp + 0xe0]
call fcn.10001000
test eax, eax
jne 0x1000196a
lea ecx, [esp + 0xe0]
call fcn.10001090
test eax, eax
je 0x1000197b
push str.TRUE
lea ecx, [esp + 0x13c]
call fcn.10004bc0
lea eax, [esp + 0x108]
push eax
call fcn.100035a0
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x12c]
call fcn.10004990
push dword [esp + 0xb8]
lea ecx, [esp + 0x12c]
call fcn.10004e30
lea eax, [esp + 0x148]
push eax
call fcn.100040b0
push dword [esp + 0xb8]
lea ecx, [esp + 0x14c]
call fcn.10004e30
push ecx
push 0x100218b4
lea ecx, [esp + 0x70]
call fcn.100048e0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x10001a4c
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100019f2
sub esi, edx
sar esi, 1
cmp dword [esp + 0x74], 0
jne 0x10001a15
push esi
push ecx
lea ecx, [esp + 0x70]
call fcn.10004b40
jmp 0x10001a4c
mov eax, dword [esp + 0x6c]
add eax, esi
push eax
lea ecx, [esp + 0x6c]
call fcn.10004f50
test eax, eax
je 0x10001a4c
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push dword [esp + 0x14]
sub eax, ecx
push eax
mov eax, dword [esp + 0x7c]
lea eax, [eax + ecx*2]
push eax
call fcn.1000a7ee
add esp, 0xc
add dword [esp + 0x6c], esi
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0xc4]
call fcn.10004990
push dword [esp + 0x74]
lea ecx, [esp + 0xc4]
call fcn.10004e30
cmp dword [esp + 0xcc], 0
je 0x10001a90
cmp dword [esp + 0xc4], 0
je 0x10001a90
lea ecx, [esp + 0xc0]
call fcn.100021c0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc4]
call fcn.100057d0
push eax
lea ecx, [esp + 0x6c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
push ecx
push 0x100218bc
lea ecx, [esp + 0x60]
call fcn.100048e0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x10001b31
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10001ad7
sub esi, edx
sar esi, 1
cmp dword [esp + 0x64], 0
jne 0x10001afa
push esi
push ecx
lea ecx, [esp + 0x60]
call fcn.10004b40
jmp 0x10001b31
mov eax, dword [esp + 0x5c]
add eax, esi
push eax
lea ecx, [esp + 0x5c]
call fcn.10004f50
test eax, eax
je 0x10001b31
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push dword [esp + 0x14]
sub eax, ecx
push eax
mov eax, dword [esp + 0x6c]
lea eax, [eax + ecx*2]
push eax
call fcn.1000a7ee
add esp, 0xc
add dword [esp + 0x5c], esi
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0xd4]
call fcn.10004990
push dword [esp + 0x64]
lea ecx, [esp + 0xd4]
call fcn.10004e30
cmp dword [esp + 0xdc], 0
je 0x10001b75
cmp dword [esp + 0xd4], 0
je 0x10001b75
lea ecx, [esp + 0xd0]
call fcn.100021c0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xd4]
call fcn.100057d0
push eax
lea ecx, [esp + 0x5c]
call fcn.10004c50
lea ecx, [esp + 0x48]
call fcn.10004950
call fcn.10003520
test eax, eax
je 0x10001bb4
call fcn.10002060
mov dword [esp + 0x14], 0
cmp eax, 4
jne 0x10001bbc
mov dword [esp + 0x14], 1
lea eax, [esp + 0x98]
push eax
push str.IsSilentUpdate
push edi
push 0x80000002
mov dword [esp + 0xa8], 1
call fcn.10006450
mov esi, dword [esp + 0x98]
test eax, eax
mov ecx, 1
cmove esi, ecx
mov dword [esp + 0x18], vtable.CStringBufferW.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
test esi, esi
je 0x10001c22
push str.__S
lea ecx, [esp + 0x1c]
call fcn.10004ca0
lea eax, [esp + 0x108]
push eax
mov edx, str.userdir
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0xac]
push eax
mov edx, str.toolbarname
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x88]
push eax
mov edx, str.dllname
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x68]
push eax
mov edx, str.proxydllname
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x58]
push eax
mov edx, str.loaderdllname
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x28]
push eax
mov edx, str.helpername
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x38]
push eax
mov edx, str.hostid
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
lea eax, [esp + 0x138]
push eax
mov edx, str.mystuffenabled
lea ecx, [esp + 0x1c]
call fcn.10001280
add esp, 4
test esi, esi
jne 0x10001cf0
mov edx, str.nonsilent
lea ecx, [esp + 0x18]
call fcn.10001310
cmp dword [esp + 0x14], 0
je 0x10001d05
mov edx, str.highintegrity
lea ecx, [esp + 0x18]
call fcn.10001310
push 0x44
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.10010460
add esp, 0xc
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x15c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push dword [esp + 0x44]
xorps xmm0, xmm0
push dword [esp + 0xa8]
mov dword [esp + 0x180], 0x44
movdqa xmmword [esp + 0x118], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0xea60
push dword [esp + 0xf4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
push dword [esp + 0xf0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xf4]
call esi
lea ecx, [esp + 0x18]
mov esi, 1
call fcn.10004950
lea ecx, [esp + 0xd0]
call fcn.10004950
lea ecx, [esp + 0x58]
call fcn.10004950
lea ecx, [esp + 0xc0]
call fcn.10004950
lea ecx, [esp + 0x68]
call fcn.10004950
lea ecx, [esp + 0x148]
call fcn.10004950
lea ecx, [esp + 0x128]
call fcn.10004950
lea ecx, [esp + 0x108]
call fcn.10004950
lea ecx, [esp + 0xe0]
call fcn.10004950
lea ecx, [esp + 0x118]
call fcn.10004950
lea ecx, [esp + 0x138]
call fcn.10004950
lea ecx, [esp + 0x28]
call fcn.10004950
jmp 0x10001e21
mov esi, 0x80004005
lea ecx, [esp + 0x38]
call fcn.10004950
lea ecx, [esp + 0x88]
call fcn.10004950
jmp 0x10001e69
lea ecx, [esp + 0x9c]
mov esi, 0x80004005
call fcn.10004950
mov eax, dword [esp + 0x34]
jmp 0x10001e54
mov esi, 0x80004005
mov dword [esp + 0x28], vtable.CStringBufferW.0
test eax, eax
je 0x10001e69
push eax
call fcn.10009ff3
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10001e7d
push eax
call fcn.10009ff3
add esp, 4
test edi, edi
je 0x10001e8a
push edi
call fcn.10009ff3
add esp, 4
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x10001e9c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xb8]
jmp 0x10001eaa
mov esi, 0x80004005
mov dword [esp + 0xac], vtable.CStringBufferW.0
test eax, eax
je 0x10001ec2
push eax
call fcn.10009ff3
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret