Function at 0x1000577a
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0x2ac
mov eax, 0x100a1ac5
call fcn.10078d22
mov ebx, ecx
mov eax, dword [ebx]
mov byte [ebx + 4], 0
call dword [eax + 8]
test al, al
je 0x10005b9e
xor eax, eax
mov dword [ebx + 0x18], 0x44
lea edi, [ebx + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx + 0x120]
mov esi, 0x100ccb00
mov ecx, esi
mov eax, dword [eax]
add eax, 0x168
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10008d87
and dword [ebp - 4], 0
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10001fb9
add esp, 0xc
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x268]
xor ecx, ecx
mov dword [ebp - 0x288], eax
mov eax, dword [ebx + 0x120]
mov eax, dword [eax]
add eax, 0x150
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0x238]
push eax
call fcn.10006f10
mov eax, dword [ebx + 0x120]
push str.chrome
mov byte [ebp - 4], 2
mov ecx, dword [eax]
add ecx, 0x88
call fcn.10007468
test al, al
je 0x1000593f
xor eax, eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x238]
push eax
call fcn.10006f10
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x100a667c
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 0xf
call fcn.10008930
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 2
call fcn.100084f5
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x2a0]
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x238]
push eax
call fcn.10007c49
mov eax, dword [ebp - 0x28c]
cmp eax, 0x10
jb 0x1000593f
mov ecx, dword [ebp - 0x2a0]
inc eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x21c], ecx
cmp eax, 0x1000
jb 0x10005936
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x284]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
push eax
push ecx
call fcn.1007879d
pop ecx
pop ecx
cmp dword [ebp - 0x224], 0x10
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x228]
mov ecx, esi
cmovae edx, dword [ebp - 0x238]
add eax, edx
push eax
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.10008dad
push 0x100a6a18
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10001f67
add esp, 0xc
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae ecx, dword [ebp - 0x250]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.100088b1
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10003775
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x2b8]
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x250]
push eax
call fcn.10007c73
lea ecx, [ebp - 0x2b8]
call fcn.1000851b
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 4
call fcn.1000851b
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x220]
lea esi, [ebp - 0x250]
cmovae esi, dword [ebp - 0x250]
push eax
call fcn.10009291
pop ecx
lea edi, [ebx + 0x5c]
push edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x100ccb54], eax
lea eax, [ebx + 0x18]
push eax
xor eax, eax
mov dword [0x100ccb50], ecx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push esi
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10005a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x12c]
sub esp, 0x18
mov dword [ebp - 0x21c], esp
mov edi, dword [ecx]
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esp
push eax
push ecx
mov dword [ebp - 0x288], ecx
call fcn.10002a0f
sub esp, 0x10
mov byte [ebp - 4], 6
mov ecx, esp
xor eax, eax
mov byte [ebp - 0x288], al
push str.OFFERINSTALLER_STARTFAIL
push dword [ebp - 0x288]
push 0x18
jmp 0x10005af9
push 8
push 0xffffffffffffffff
push ebx
push 0x10005f35
push dword [edi]
lea eax, [ebx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x10005b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x12c]
sub esp, 0x18
mov dword [ebp - 0x21c], esp
mov edi, dword [ecx]
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esp
push eax
push ecx
mov dword [ebp - 0x288], ecx
call fcn.10002a0f
sub esp, 0x10
mov byte [ebp - 4], 7
mov ecx, esp
xor eax, eax
mov byte [ebp - 0x288], al
push str.OFFERINSTALLER_WAITFAIL
push dword [ebp - 0x288]
push 0x17
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.10002461
mov ecx, edi
mov byte [ebp - 4], 4
call esi
mov byte [ebx + 4], 1
lea ecx, [ebp - 0x250]
call fcn.1000851b
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x10005b70
mov ecx, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x284], ecx
cmp eax, 0x1000
jb 0x10005b67
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x284]
push eax
push ecx
call fcn.1007879d
pop ecx
pop ecx
and dword [ebp - 0x228], 0
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.1000851b
lea ecx, [ebp - 0x280]
call fcn.1000851b
call fcn.10078cd1
ret