Function at 0x1400407c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rbx, rcx
lea rdi, [rcx + 0x10]
mov r8, qword [rdi]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r12d, r12d
cmp rax, 3
jb 0x140040882
lea rax, [r8 + 3]
mov qword [rdi], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140040812
mov rdi, qword [rbx]
lea rax, [0x1401322df]
mov r14d, 3
lea rsi, [0x1401322dc]
cmp rax, rdi
jbe 0x140040846
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140040846
cmp rdi, rsi
ja 0x14004083e
mov rbp, r12
jmp 0x140040849
mov rbp, rdi
sub rbp, rsi
jmp 0x140040849
mov rbp, r14
lea rcx, [rdi + 3]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 3]
add rdx, rbp
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbx + 0x10]
jmp 0x1400408a7
mov r14d, 3
mov qword [rsp + 0x28], r14
lea rsi, [0x1401322dc]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edx, r14d
mov rcx, rbx
call fcn.140046850
lea rsi, [rbx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140040914
mov rax, qword [rbx]
lea r14, [rbx + 0x18]
lea rbp, [rbx + 0x10]
jmp 0x14004091a
mov r14, rsi
mov rbp, rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14004098b
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x14004097d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140040971
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040a2c
mov rcx, r8
call fcn.14004d314
lea rdi, [rbx + 0x10]
mov rsi, r14
mov qword [rsi], reloc.WS2_32.dll_ntohs
mov eax, 0xffffffff
jmp 0x140040a0a
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0xd8]
mov rdx, qword [r14]
cmp rdx, 0xf
jbe 0x140040a01
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400409f9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040a2c
mov rcx, r8
call fcn.14004d314
mov rdi, rbp
mov qword [r14], reloc.WS2_32.dll_ntohs
mov eax, esi
mov byte [rbx], 0
mov qword [rdi], r12
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3