Function at 0x408850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aa35
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5340e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
mov ecx, str.Starting_Chrome_in_debugging_mode...
call fcn.0040b550
mov ecx, dword [ebx + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x50], ecx
cmp eax, 0x52
jb 0x408a92
cmp dword [ebx + 0x14], 8
jb 0x4088ae
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
lea edx, [ecx + 0x52]
mov dword [ebp - 0x4c], 0
mov esi, 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x30], edx
cmp edx, esi
jbe 0x40895e
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4088ed
mov esi, 0x7ffffffe
jmp 0x4088f7
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x408a9c
add ecx, ecx
cmp ecx, 0x1000
jb 0x408945
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x408a9c
push eax
call fcn.004e5493
add esp, 4
test eax, eax
je 0x408a97
mov edx, dword [ebp - 0x30]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x40895b
test ecx, ecx
je 0x408959
push ecx
call fcn.004e5493
mov edx, dword [ebp - 0x30]
add esp, 4
mov ebx, eax
jmp 0x40895b
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], esi
mov ecx, 0x29
mov dword [ebp - 0x3c], edx
mov esi, 0x52a890
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x50]
lea ecx, [ebx + 0xa4]
lea eax, [esi + esi]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.004e73f0
xor eax, eax
mov word [ebx + esi*2 + 0xa4], ax
push 0x52a88c
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
call fcn.0040ba10
add esp, 0x10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4089e6
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a97
push edx
push ecx
call fcn.004e54c3
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], 7
cmp dword [eax + 0x14], 8
jb 0x408a10
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x408a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.0040bb10
jmp 0x408a40
call fcn.0040bd80
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408a76
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408aa1
push edx
push ecx
call fcn.004e54c3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e56df
mov esp, ebp
pop ebp
ret
call fcn.00401660
call fcn.004ea4df
call fcn.00401590
call fcn.004ea4df
int3