Function at 0x47900d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x44], 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 - 0x40], eax
jne 0x479040
xor al, al
jmp 0x47923d
push ecx
push ecx
mov esi, esp
mov eax, str.chrome.exe
push eax
mov dword [esi], eax
call fcn.00415b9a
pop ecx
mov dword [esi + 4], eax
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
call fcn.0043fdb0
push eax
lea ecx, [ebp - 0x74]
call fcn.00444920
lea ecx, [ebp - 0x20]
call fcn.0043ef40
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x74]
call fcn.00443ed0
xor ebx, ebx
mov dword [ebp - 0xbc], 0x44
push 0x40
lea eax, [ebp - 0xb8]
mov byte [ebp - 0x39], bl
push ebx
push eax
call fcn.004cda10
add esp, 8
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
lea ecx, [ebp - 0x74]
movups xmmword [ebp - 0x54], xmm0
push eax
call fcn.004462b0
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x38]
cmovae esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x74]
push eax
call fcn.00445260
cmp dword [eax + 0x14], 8
jb 0x4790cf
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xbc]
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 - 0x20]
neg ebx
sbb bl, bl
call fcn.0043ef40
add bl, 1
je 0x479193
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x479163
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x74]
call fcn.004462b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x3c
push str..._.._chrome_installer_util_product.cc
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x174], eax
call fcn.0044bca0
mov edx, str.Failed_to_launch:
lea ecx, [ebp - 0x164]
call fcn.0041cec3
cmp dword [ebp - 0xc], 8
lea edx, [ebp - 0x20]
mov ecx, eax
cmovae edx, dword [ebp - 0x20]
call fcn.0044c7c0
push 3
pop ebx
jmp 0x479166
mov ebx, dword [ebp - 0x44]
test bl, 2
je 0x479179
lea ecx, [ebp - 0x174]
and ebx, 0xfffffffd
call fcn.0044c710
test bl, 1
je 0x479226
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0041b875
jmp 0x479226
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4791ca
mov byte [ebp - 0x39], 1
test edi, edi
je 0x47921d
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
jmp 0x47921d
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x47920b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x49
push str..._.._chrome_installer_util_product.cc
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x174], eax
call fcn.0044bca0
mov edx, str.GetExitCodeProcess_failed
lea ecx, [ebp - 0x164]
call fcn.0041cec3
push 4
pop eax
jmp 0x47920e
mov eax, dword [ebp - 0x44]
test al, 4
je 0x47921d
lea ecx, [ebp - 0x174]
call fcn.0044c710
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.0041b875
lea ecx, [ebp - 0x74]
call fcn.00444b40
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 0xc