Function at 0x14004d710
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx esi, dl
mov rdi, rcx
call fcn.1400726a0
mov r8, rdi
lea rdx, str.runProcess:_cmd_s
mov rcx, rax
call fcn.140072950
mov rbx, qword [0x1401c9d18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
xor r14d, r14d
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x158], reloc.WS2_32.dll_ntohs
lea edx, [r14 + 0x20]
lea rcx, [rsp + 0x140]
call fcn.140004ad0
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x150], setsockopt
mov qword [rsp + 0x158], 0x1f
movups xmm0, xmmword [str.AcService.RunMode]
movups xmmword [rax], xmm0
movzx edx, byte [0x140176070]
mov byte [rax + 0x10], dl
mov byte [rax + 0x11], r14b
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.14006e570
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0x10
jb 0x14004d81d
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004daf2
call fcn.1401452fc
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x158], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x140], 0
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rcx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x130]
cmp r8, 7
jne 0x14004d875
lea rdx, [0x140177680]
call fcn.140147d20
test eax, eax
jne 0x14004d875
mov al, 1
jmp 0x14004d877
xor al, al
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
mov dword [rsp + 0xe4], ecx
mov dword [rsp + 0x80], WSASetLastError
test al, al
je 0x14004da85
lea rcx, [rsp + 0xf0]
call fcn.140053ae0
nop
mov eax, esi
shl eax, 0x1b
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x14004d9b9
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.runProcess:_err_d
mov rcx, rbx
call fcn.140072400
nop
lea rcx, [rsp + 0xf0]
call fcn.140053e50
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x14004d998
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d993
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004daf8
call fcn.1401452fc
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x120], 0
jmp 0x14004da61
lea rcx, [rsp + 0xf0]
call fcn.140053e50
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x14004da61
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dafe
jmp 0x14004da5c
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x14004da61
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dafe
call fcn.1401452fc
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r14
pop rdi
pop rsi
ret
mov eax, esi
shl eax, 0x1b
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14004d9c7
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.runProcess:_err_d
mov rcx, rbx
call fcn.140072400
jmp 0x14004da1e
call fcn.14014bf64
nop
call fcn.14014bf64
int3
call fcn.14014bf64
int3