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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x186d8]
mov eax, 0x187a0
call fcn.140043780
sub rsp, rax
mov rsi, r8
mov r15, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov r13, qword [0x1403b14d8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov byte [rsp + 0x70], 3
mov edi, eax
mov qword [rbp - 0x80], rax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
movdqu xmmword [rsp + 0x28], xmm0
mov r14d, eax
mov qword [rsp + 0x38], rax
mov r12, qword [r8 + 8]
mov rbx, qword [r8]
cmp rbx, r12
je 0x1400365b4
lea r14d, [rax + 8]
mov rcx, qword [rbx + 8]
call fcn.1400360bc
mov qword [rbp + 0x186e8], rax
mov rcx, qword [rbx]
call fcn.1400360bc
mov qword [rbp + 0x186f0], rax
mov r9, r14
lea r8, [rbp + 0x186e8]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14004173c
mov r9, r14
lea r8, [rbp + 0x186f0]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14004173c
add rdi, 0x10
mov qword [rbp - 0x80], rdi
add rbx, 0x28
cmp rbx, r12
jne 0x14003654d
mov r14, qword [rsp + 0x38]
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x78], rdx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
sub rsi, rdi
je 0x140036612
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140041634
mov r8, rsi
mov rdx, rdi
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [rbp - 0x70], rax
jmp 0x140036623
mov r8, rsi
mov rdx, rdi
xor ecx, ecx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x70], rsi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140036248
nop
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140036674
lea rdx, str.Failed_to_send_request_to_server
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003fbec
lea rdx, [0x14003fd5c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor r9d, r9d
mov r8d, 0x186a0
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r13d, r13d
mov qword [rsp + 0x50], r13
test eax, eax
je 0x1400366cc
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400415ac
mov r8, rsi
lea rdx, [rbp]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1400362f0
nop
mov r12, r13
mov rsi, r13
mov ebx, 0x1000
cmp qword [rbp - 0x30], r13
jbe 0x1400367b9
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + r12]
call fcn.1400360bc
mov rbx, rax
mov rcx, qword [rbp - 0x20]
mov rcx, qword [rcx + r12 + 8]
call fcn.1400360bc
add r12, 0x10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14003ec0c
mov rdx, qword [rbp - 0x20]
add rdx, r12
mov r8, rbx
mov rcx, qword [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
add r12, rbx
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x140036765
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140037740
add qword [r15 + 8], 0x28
jmp 0x140036775
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, r15
call fcn.140041df8
nop
mov rcx, qword [rbp - 0x50]
mov ebx, 0x1000
test rcx, rcx
je 0x1400367ac
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x1400367a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400367ed
call fcn.140042990
inc rsi
cmp rsi, qword [rbp - 0x30]
jb 0x1400366f0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140036805
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x1400367f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400367f4
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]
nop
call fcn.140042990
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140036841
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x14003683b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003683b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003688a
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x140036877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036877
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
test rdi, rdi
je 0x1400368c2
sub r14, rdi
mov rax, rdi
cmp r14, rbx
jb 0x1400368b6
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400368b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rdi
call fcn.140042990
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400368fb
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x1400368f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400368f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
mov rax, r15
mov rbx, qword [rsp + 0x187f8]
add rsp, 0x187a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret