Function at 0x4680e5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x40], 0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x3c], eax
jne 0x468118
xor al, al
jmp 0x46830b
push ecx
push ecx
mov esi, esp
mov eax, str.chrome.exe
push eax
mov dword [esi], eax
call fcn.0041c310
pop ecx
mov dword [esi + 4], eax
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00437dc0
push eax
lea ecx, [ebp - 0x70]
call fcn.00434750
lea ecx, [ebp - 0x1c]
call fcn.00434920
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
push dword [ebp - 0x3c]
call fcn.00434d80
push 0x40
lea eax, [ebp - 0xb0]
mov byte [ebp - 0x35], bl
push ebx
push eax
mov dword [ebp - 0xb4], 0x44
call fcn.004a0ee0
add esp, 0xc
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x50], xmm0
push ebx
push eax
call fcn.00435900
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x1c]
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push eax
call fcn.00435a40
cmp dword [eax + 0x14], 8
jb 0x4681a9
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea ecx, [ebp - 0x1c]
neg ebx
sbb bl, bl
call fcn.00434920
add bl, 1
je 0x468269
push 2
call fcn.00432780
pop ecx
test al, al
je 0x468239
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00435900
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x3d
push str.c:_bc_bwin_archive_srcchromeinstallerutilproduct.cc
lea ecx, [ebp - 0x16c]
call fcn.00431820
add eax, 0x10
push str.Failed_to_launch:
push eax
call fcn.00415b8c
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00431db0
add esp, 0x10
push 3
pop ebx
jmp 0x46823c
mov ebx, dword [ebp - 0x40]
test bl, 2
je 0x46824f
lea ecx, [ebp - 0x16c]
and ebx, 0xfffffffd
call fcn.00431af0
test bl, 1
je 0x4682f4
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041b1ee
jmp 0x4682f4
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4682a2
mov byte [ebp - 0x35], 1
test edi, edi
je 0x4682ef
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
jmp 0x4682ef
push 2
call fcn.00432780
pop ecx
test al, al
je 0x4682dd
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x4a
push str.c:_bc_bwin_archive_srcchromeinstallerutilproduct.cc
lea ecx, [ebp - 0x16c]
call fcn.00431820
add eax, 0x10
push str.GetExitCodeProcess_failed
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 4
pop eax
jmp 0x4682e0
mov eax, dword [ebp - 0x40]
test al, 4
je 0x4682ef
lea ecx, [ebp - 0x16c]
call fcn.00431af0
push dword [ebp - 0x50]
call esi
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041b1ee
lea ecx, [ebp - 0x70]
call fcn.004349d0
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 0xc