Function at 0x140062e90
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x8c], 0
mov dword [rsp + 0x88], 0xffffffff
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x2c0], 0
jne 0x140062f12
mov r8, qword [rsp + 0x2c0]
lea rdx, str.spawn_child_internal
lea rcx, str._s_invalid_argument_cmd:_s
call fcn.140002d00
mov eax, dword [rsp + 0x88]
jmp 0x1400639e9
mov rcx, qword [rsp + 0x2c0]
call fcn.140077df8
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140062f4c
mov rdx, qword [rsp + 0x2c0]
lea rcx, str.failed_to_duplicate__s
call fcn.140002d00
mov eax, dword [rsp + 0x88]
jmp 0x1400639e9
call fcn.14005db10
test eax, eax
je 0x140062fca
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0xb0]
cmp byte [rax + rcx], 0
jne 0x140062f6e
mov rax, qword [rsp + 0xb0]
inc rax
mov qword [rsp + 0x158], rax
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x158]
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x2c0]
call fcn.14005bd90
mov rcx, qword [rsp + 0x68]
call fcn.14005da20
test eax, eax
jne 0x140062fe3
mov dword [rsp + 0x8c], 1
cmp dword [rsp + 0x8c], 0
je 0x140063083
mov rax, qword [0x1400e4540]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0xb8], 0xffffffffffffffff
inc qword [rsp + 0xb8]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rsp + 0xb8]
cmp byte [rax + rcx], 0
jne 0x14006300c
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x190], rcx
mov qword [rsp + 0xc0], 0xffffffffffffffff
inc qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x190]
mov rdx, qword [rsp + 0xc0]
cmp byte [rcx + rdx], 0
jne 0x14006304b
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x70]
lea eax, [rax + rdx + 1]
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x70], eax
jmp 0x1400630ce
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0xc8], 0xffffffffffffffff
inc qword [rsp + 0xc8]
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0xc8]
cmp byte [rax + rcx], 0
jne 0x14006309c
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x70]
lea eax, [rcx + rax + 3]
mov dword [rsp + 0x70], eax
cmp qword [rsp + 0x2c8], 0
je 0x140063163
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x140063163
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0xd0], 0xffffffffffffffff
inc qword [rsp + 0xd0]
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0xd0]
cmp byte [rax + rcx], 0
jne 0x14006312f
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x70]
lea eax, [rcx + rax + 3]
mov dword [rsp + 0x70], eax
jmp 0x1400630ea
mov eax, dword [rsp + 0x70]
mov ecx, eax
call fcn.140078014
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140063191
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x1400639a0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x8c], 0
je 0x140063279
mov rax, qword [0x1400e4540]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0xd8], 0xffffffffffffffff
inc qword [rsp + 0xd8]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xd8]
cmp byte [rax + rcx], 0
jne 0x1400631dc
mov rax, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [0x1400e4540]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x1400e4540]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0xe0], 0xffffffffffffffff
inc qword [rsp + 0xe0]
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0xe0]
cmp byte [rax + rcx], 0
jne 0x14006322e
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x5c
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
lea rax, str..exe
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x80], 0
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x68]
call fcn.140076788
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140063589
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0xe8], 0xffffffffffffffff
inc qword [rsp + 0xe8]
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0xe8]
cmp byte [rax + rcx], 0
jne 0x1400632d9
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0xf0], 0xffffffffffffffff
inc qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x1c8]
mov rdx, qword [rsp + 0xf0]
cmp byte [rcx + rdx], 0
jne 0x14006331b
mov rcx, qword [rsp + 0xf0]
cmp rax, rcx
jbe 0x140063589
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0xf8], 0xffffffffffffffff
inc qword [rsp + 0xf8]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0xf8]
cmp byte [rax + rcx], 0
jne 0x140063366
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x100], 0xffffffffffffffff
inc qword [rsp + 0x100]
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x100]
cmp byte [rax + rcx], 0
jne 0x1400633bb
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x108], 0xffffffffffffffff
inc qword [rsp + 0x108]
mov rcx, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x108]
cmp byte [rcx + rdx], 0
jne 0x1400633fd
mov rcx, qword [rsp + 0x108]
sub rax, rcx
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x110], 0xffffffffffffffff
inc qword [rsp + 0x110]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x110]
cmp byte [rax + rcx], 0
jne 0x14006344e
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x118], 0xffffffffffffffff
inc qword [rsp + 0x118]
mov rcx, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x118]
cmp byte [rcx + rdx], 0
jne 0x140063490
mov rcx, qword [rsp + 0x118]
sub rax, rcx
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x120], 0xffffffffffffffff
inc qword [rsp + 0x120]
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x120]
cmp byte [rax + rcx], 0
jne 0x1400634fa
mov rax, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x80]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x128], 0xffffffffffffffff
inc qword [rsp + 0x128]
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x128]
cmp byte [rax + rcx], 0
jne 0x14006354e
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x14006363b
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x130], 0xffffffffffffffff
inc qword [rsp + 0x130]
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x130]
cmp byte [rax + rcx], 0
jne 0x1400635a2
mov rax, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x138], 0xffffffffffffffff
inc qword [rsp + 0x138]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x138]
cmp byte [rax + rcx], 0
jne 0x1400635f0
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x2c8], 0
je 0x14006375e
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x14006375e
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x20
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x140], 0xffffffffffffffff
inc qword [rsp + 0x140]
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x140]
cmp byte [rax + rcx], 0
jne 0x1400636ac
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rcx]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0xa8], 0xffffffffffffffff
inc qword [rsp + 0xa8]
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0xa8]
cmp byte [rax + rcx], 0
jne 0x140063700
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x78], rax
jmp 0x140063657
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14005f500
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140063796
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x1400639a0
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x230], WSAGetLastError
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x26c], 0x100
mov rdx, qword [rsp + 0x90]
lea rcx, str.spawning__ls
call fcn.140002e50
cmp qword [rsp + 0x2f0], 0
je 0x14006387b
lea rax, [rsp + 0x168]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x2e8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
and al, 0x20
add byte [rax], al
add byte [rax], al
xor r9d, r9d
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x2f0]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov dword [rsp + 0x98], eax
jmp 0x1400638d7
lea rax, [rsp + 0x168]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x2e8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
je 0x14006392d
mov edx, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x168]
call fcn.140066aa0
cmp eax, 0xffffffff
jne 0x14006391d
xor edx, edx
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400639a0
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140063992
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x148], eax
call fcn.1400826c8
mov ecx, dword [rsp + 0x148]
mov dword [rax], ecx
cmp qword [rsp + 0x2f0], 0
je 0x140063964
lea rax, str.CreateProcessAsUserW
mov qword [rsp + 0x160], rax
jmp 0x140063973
lea rax, str.CreateProcessW
mov qword [rsp + 0x160], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0x160]
lea rcx, str._s_failed_error:_d
call fcn.140002d00
jmp 0x1400639a0
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x88], eax
cmp qword [rsp + 0xa0], 0
je 0x1400639b8
mov rcx, qword [rsp + 0xa0]
call fcn.140078000
cmp qword [rsp + 0x90], 0
je 0x1400639d0
mov rcx, qword [rsp + 0x90]
call fcn.140078000
cmp qword [rsp + 0x68], 0
je 0x1400639e2
mov rcx, qword [rsp + 0x68]
call fcn.140078000
mov eax, dword [rsp + 0x88]
add rsp, 0x2a8
pop rdi
pop rsi
ret