Function at 0x475aac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x120], eax
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], ebx
test esi, esi
je 0x475afc
cmp esi, 1
je 0x475afc
cmp esi, 2
je 0x475afc
cmp esi, 3
je 0x475afc
cmp esi, 4
je 0x475afc
xor al, al
jmp 0x475d7c
and dword [ebp - 0x24], ebx
xor ecx, ecx
and dword [ebp - 0xc], ecx
mov word [ebp - 0x34], cx
mov word [ebp - 0x1c], cx
push 7
pop edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
cmp esi, 1
je 0x475b3c
lea eax, [ebp - 0x1c]
mov edx, edi
push eax
push 2
mov ecx, esi
call fcn.004758a0
pop ecx
pop ecx
test al, al
jne 0x475b36
xor bl, bl
jmp 0x475d6a
mov eax, dword [ebp - 0x120]
push eax
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.004746fb
push ecx
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0041ad80
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043fdb0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043efe0
lea ecx, [ebp - 0x4c]
call fcn.0043ef40
mov eax, dword [ebp - 0x120]
mov cl, 1
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x119], cl
cmp dword [eax], 2
jne 0x475b8b
lea esi, [ebp - 0x1c]
jmp 0x475bf8
cmp edi, 1
jne 0x475ba8
cmp dword [ebp - 0xc], ebx
je 0x475ba8
lea ecx, [ebp - 0x1c]
call fcn.004362a0
test al, al
je 0x475ba8
lea esi, [ebp - 0x1c]
xor cl, cl
jmp 0x475bf8
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x34]
push eax
push 1
mov ecx, esi
call fcn.004758a0
pop ecx
pop ecx
test al, al
je 0x475d5c
push ecx
push ecx
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0041ad80
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043fdb0
push eax
lea ecx, [ebp - 0x34]
call fcn.0043efe0
lea ecx, [ebp - 0x4c]
call fcn.0043ef40
mov cl, byte [ebp - 0x119]
lea esi, [ebp - 0x34]
cmp dword [esi + 0x10], ebx
je 0x475d5c
test edi, edi
js 0x475c1d
cmp edi, 1
jle 0x475c19
cmp edi, 2
je 0x475c1d
cmp edi, 3
jne 0x475c1d
push 2
pop edi
jmp 0x475c20
xor edi, edi
jmp 0x475c20
xor edi, edi
inc edi
mov byte [ebp - 0x119], 1
test cl, cl
je 0x475cb9
test edi, edi
jne 0x475c56
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0043f900
xor ebx, ebx
xor edx, edx
mov ecx, eax
inc ebx
call fcn.00436f30
test al, al
jne 0x475c56
mov byte [ebp - 0x119], bl
jmp 0x475c5d
mov byte [ebp - 0x119], 0
test bl, 1
je 0x475c6d
lea ecx, [ebp - 0x4c]
and ebx, 0xfffffffe
call fcn.0043ef40
cmp byte [ebp - 0x119], 0
jne 0x475d5c
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x108]
call fcn.00474813
push edi
lea edx, [ebp - 0x108]
mov ecx, esi
call fcn.00457060
pop ecx
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x119], al
call fcn.00456eb0
mov al, byte [ebp - 0x119]
test al, al
je 0x475d54
test edi, edi
jne 0x475d54
mov eax, dword [ebp - 0x120]
cmp byte [eax + 0x98], 0
je 0x475d54
call fcn.00457b30
test al, al
je 0x475d54
cmp dword [esi + 0x14], 8
jb 0x475ce7
mov eax, dword [esi]
jmp 0x475ce9
mov eax, esi
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push str.taskbarpin
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
pop ecx
mov edx, eax
call fcn.0044bc30
test al, al
je 0x475d44
cmp edx, 0x20
jg 0x475d44
push ecx
push 0x6d1
or ebx, ecx
lea ecx, [ebp - 0x118]
push str..._.._chrome_installer_util_shell_util.cc
call fcn.0044bca0
mov edx, str.Failed_to_pin_to_taskbar
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], 8
jb 0x475d3b
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
test bl, 2
je 0x475d54
lea ecx, [ebp - 0x118]
call fcn.0044bd90
mov bl, byte [ebp - 0x119]
jmp 0x475d5e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.0041b875
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
lea ecx, [ebp - 0x34]
call fcn.0043ef40
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret