Function at 0x459220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5c7cec]
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 eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xbc], ebx
cmp eax, 6
je 0x459447
cmp eax, 5
je 0x459447
call fcn.00414d00
test eax, eax
jg 0x45943d
call fcn.00414d00
test eax, eax
jg 0x4592d4
push ebx
push 0x2c3
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
mov dword [ebp - 4], ebx
add eax, 8
push str.CreateProcessWAction:_STATUS_ACCESS_DENIED
mov ebx, 1
push eax
mov dword [ebp - 0xbc], ebx
call fcn.00473f90
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4592ee
lea ecx, [ebp - 0x184]
and ebx, 0xfffffffe
call fcn.0048d350
call fcn.00414d00
test eax, eax
jg 0x459341
push 0
push 0x2c4
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
or ebx, 2
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xbc], ebx
jb 0x459326
mov esi, dword [esi]
push esi
add eax, 8
push str.app_name:
push eax
call fcn.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x45935b
lea ecx, [ebp - 0x184]
and ebx, 0xfffffffd
call fcn.0048d350
call fcn.00414d00
test eax, eax
jg 0x4593ae
push 0
push 0x2c5
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
or ebx, 4
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xbc], ebx
jb 0x459393
mov edi, dword [edi]
push edi
add eax, 8
push str.command_line:
push eax
call fcn.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x4593c8
lea ecx, [ebp - 0x184]
and ebx, 0xfffffffb
call fcn.0048d350
mov ecx, dword [0x5ccda4]
lea eax, [ebp - 0x40]
push 0xb
push eax
call fcn.00491b8e
mov dword [ebp - 4], 3
call fcn.00414d00
test eax, eax
jg 0x459425
push 0
push 0x2c7
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
or ebx, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xbc], ebx
cmovae ecx, dword [ebp - 0x40]
add eax, 8
push ecx
push eax
call fcn.0048d680
add esp, 8
test bl, 8
je 0x459435
lea ecx, [ebp - 0x184]
call fcn.0048d350
lea ecx, [ebp - 0x40]
call fcn.00408e50
mov eax, 5
jmp 0x459711
push 0x44
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0xb8], 0x44
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x45946e
mov eax, dword [edi]
push eax
call fcn.00414ad3
mov esi, eax
add esp, 4
mov dword [ebp - 0xd4], esi
and dword [ebp + 0x18], 0xc000420
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 5
call fcn.0048f750
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.0048fb30
test al, al
jne 0x4594af
mov edi, 5
jmp 0x4596f3
lea eax, [ebp - 0x28]
push eax
call fcn.0048fa80
add esp, 4
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
je 0x4596e6
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, eax
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x4594e4
mov edx, dword [eax]
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb8]
push eax
push ecx
push 0
push dword [ebp + 0x18]
je 0x45972d
push dword [ebp + 0x1c]
push 0
push 0
push esi
push edx
push dword [ebp - 0xc0]
call fcn.0049f020
add esp, 0x2c
test eax, eax
jne 0x459743
call fcn.00414d00
test eax, eax
jg 0x4596e6
call fcn.00414d00
test eax, eax
jg 0x45957c
push 0
push 0x2e9
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
add eax, 8
mov byte [ebp - 4], 0xa
push str.CreateProcessWAction:_STATUS_ACCESS_DENIED
mov ebx, 0x10
push eax
mov dword [ebp - 0xbc], ebx
call fcn.00473f90
add esp, 8
mov dword [ebp - 4], 8
test bl, 0x10
je 0x459596
lea ecx, [ebp - 0x184]
and ebx, 0xffffffef
call fcn.0048d350
call fcn.00414d00
test eax, eax
jg 0x4595ee
push 0
push 0x2ea
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
mov ecx, eax
mov eax, dword [ebp - 0xd0]
or ebx, 0x20
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xbc], ebx
cmp dword [eax + 0x14], 8
jb 0x4595d3
mov eax, dword [eax]
push eax
lea eax, [ecx + 8]
push str.app_name:
push eax
call fcn.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
mov dword [ebp - 4], 8
test bl, 0x20
je 0x459608
lea ecx, [ebp - 0x184]
and ebx, 0xffffffdf
call fcn.0048d350
call fcn.00414d00
test eax, eax
jg 0x459658
push 0
push 0x2eb
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x184]
call fcn.0048d090
or ebx, 0x40
mov byte [ebp - 4], 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xbc], ebx
jb 0x45963d
mov edi, dword [edi]
push edi
add eax, 8
push str.command_line:
push eax
call fcn.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
mov dword [ebp - 4], 8
test bl, 0x40
je 0x459672
lea ecx, [ebp - 0x184]
and ebx, 0xffffffbf
call fcn.0048d350
mov ecx, dword [0x5ccda4]
lea eax, [ebp - 0x58]
push 0xb
push eax
call fcn.00491b8e
mov byte [ebp - 4], 0xd
call fcn.00414d00
test eax, eax
jg 0x4596cf
push 0
push 0x2ed
push str.d:dcbcbt_mainimportsopenchromechrome_src_sandbox_srcprocess_thread_policy.cc
lea ecx, [ebp - 0x234]
call fcn.0048d090
or ebx, 0x80
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xbc], ebx
cmovae ecx, dword [ebp - 0x58]
add eax, 8
push ecx
push eax
call fcn.0048d680
add esp, 8
test bl, bl
jns 0x4596de
lea ecx, [ebp - 0x234]
call fcn.0048d350
lea ecx, [ebp - 0x58]
call fcn.00408e50
mov edi, 5
lea ecx, [ebp - 0x28]
call fcn.00408e50
lea ecx, [ebp - 0x74]
call fcn.0048f7d0
mov dword [ebp - 4], 0x10
test esi, esi
je 0x45970f
push esi
call fcn.004097f9
add esp, 4
mov eax, edi
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.0040154f
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45952f
push 0
call fcn.0046a830
push 0
mov dword [ebp - 0xc0], eax
call fcn.004d3130
add esp, 8
mov dword [ebp - 0xbc], eax
cmp dword [ebp + 8], 6
jne 0x45977a
mov dword [ebp - 0xc0], 0x1fffff
mov dword [ebp - 0xbc], 0x1fffff
mov eax, dword [ebp - 0xc4]
push 1
push 0
push dword [ebp - 0xc0]
lea ecx, [eax + 4]
push eax
push dword [ebp - 0xcc]
mov dword [ebp - 0xc8], ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
mov eax, dword [ebp - 0xc8]
jne 0x4597c0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45952f
push 1
push 0
push dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xc4]
push dword [ebp - 0xcc]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x45952f
xor edi, edi
jmp 0x4596eb