Function at 0x140062df0
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 0x140062e72
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 0x140063949
mov rcx, qword [rsp + 0x2c0]
call fcn.140077d68
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140062eac
mov rdx, qword [rsp + 0x2c0]
lea rcx, str.failed_to_duplicate__s
call fcn.140002d00
mov eax, dword [rsp + 0x88]
jmp 0x140063949
call fcn.14005da70
test eax, eax
je 0x140062f2a
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 0x140062ece
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.14005bd80
mov rcx, qword [rsp + 0x68]
call fcn.14005d980
test eax, eax
jne 0x140062f43
mov dword [rsp + 0x8c], 1
cmp dword [rsp + 0x8c], 0
je 0x140062fe3
mov rax, qword [0x1400e4530]
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 0x140062f6c
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 0x140062fab
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 0x14006302e
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 0x140062ffc
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 0x1400630c3
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x1400630c3
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 0x14006308f
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x70]
lea eax, [rcx + rax + 3]
mov dword [rsp + 0x70], eax
jmp 0x14006304a
mov eax, dword [rsp + 0x70]
mov ecx, eax
call fcn.140077f84
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x1400630f1
call fcn.1400825b0
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x140063900
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 0x1400631d9
mov rax, qword [0x1400e4530]
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 0x14006313c
mov rax, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [0x1400e4530]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x1400e4530]
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 0x14006318e
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.1400766f8
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400634e9
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 0x140063239
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 0x14006327b
mov rcx, qword [rsp + 0xf0]
cmp rax, rcx
jbe 0x1400634e9
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 0x1400632c6
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 0x14006331b
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 0x14006335d
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 0x1400633ae
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 0x1400633f0
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 0x14006345a
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 0x1400634ae
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x14006359b
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 0x140063502
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 0x140063550
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 0x1400636be
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x1400636be
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 0x14006360c
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 0x140063660
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 0x1400635b7
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14005f460
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400636f6
call fcn.1400825b0
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x140063900
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 0x1400637db
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
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 0x140063837
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 0x14006388d
mov edx, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x168]
call fcn.1400668b0
cmp eax, 0xffffffff
jne 0x14006387d
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 0x140063900
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400638f2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x148], eax
call fcn.1400825b0
mov ecx, dword [rsp + 0x148]
mov dword [rax], ecx
cmp qword [rsp + 0x2f0], 0
je 0x1400638c4
lea rax, str.CreateProcessAsUserW
mov qword [rsp + 0x160], rax
jmp 0x1400638d3
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 0x140063900
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x88], eax
cmp qword [rsp + 0xa0], 0
je 0x140063918
mov rcx, qword [rsp + 0xa0]
call fcn.140077f70
cmp qword [rsp + 0x90], 0
je 0x140063930
mov rcx, qword [rsp + 0x90]
call fcn.140077f70
cmp qword [rsp + 0x68], 0
je 0x140063942
mov rcx, qword [rsp + 0x68]
call fcn.140077f70
mov eax, dword [rsp + 0x88]
add rsp, 0x2a8
pop rdi
pop rsi
ret