Function at 0x140002cf0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rbp - 0x59], r12d
mov rax, qword [rcx]
movsxd rcx, dword [rax + 4]
add rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
xor edx, edx
mov r8d, 0x7a180
lea rcx, [0x1400114c0]
call sub.VCRUNTIME140.dll_memset
mov dword [0x140010dd8], r12d
lea rdi, [0x140010180]
mov rax, rdi
cmp qword [0x140010198], 0xf
cmova rax, qword [0x140010180]
mov qword [0x140010190], r12
mov byte [rax], r12b
lea r15, [0x140010100]
mov rax, r15
cmp qword [0x140010118], 0xf
cmova rax, qword [0x140010100]
mov qword [0x140010110], r12
mov byte [rax], r12b
lea r14, [0x1400100c0]
mov rax, r14
cmp qword [0x1400100d8], 0xf
cmova rax, qword [0x1400100c0]
mov qword [0x1400100d0], r12
mov byte [rax], r12b
mov r8, rbx
lea rdx, [rbp - 0x31]
call fcn.1400024f0
mov rbx, rax
cmp r14, rax
je 0x140002e5b
mov rdx, qword [0x1400100d8]
cmp rdx, 0xf
jbe 0x140002e1e
mov rcx, qword [0x1400100c0]
inc rdx
cmp rdx, 0x1000
jb 0x140002e19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002e8d
mov rcx, r8
call fcn.1400082bc
mov qword [0x1400100d0], r12
mov qword [0x1400100d8], 0xf
mov byte [0x1400100c0], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x1400100c0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400100d0], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], recv
mov byte [rbx], r12b
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140002e99
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400082bc
mov rcx, r14
cmp qword [0x1400100d8], 0xf
cmova rcx, qword [0x1400100c0]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], r12b
jne 0x140002eb6
mov dword [0x140010dd8], eax
lea rcx, [rsi + 0x10]
lea rdx, str.HTTP_1.1_200_OK_r_n
call fcn.1400069c0
mov rcx, rax
lea rdx, str.Content_Type:_application_json_charsetutf_8_r_n
call fcn.1400069c0
mov rcx, rax
lea rdx, str.Connection:_keep_alive_r_n
call fcn.1400069c0
mov rcx, rax
lea rdx, str.Content_Length:
call fcn.1400069c0
mov edx, dword [0x140010dd8]
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___int____ptr64]
lea rdx, [0x14000a9b8]
mov rcx, rax
call fcn.1400069c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x14000bea0]
movdqu xmmword [rbp - 0x21], xmm1
mov byte [rbp - 0x31], 0
mov dword [rbp - 0x59], 2
movups xmmword [rbp - 0x49], xmm0
mov ecx, dword [rsi + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140002f83
mov rax, qword [rsi + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140002f83
mov rax, qword [rsi + 0x38]
mov rdx, qword [rax]
mov qword [rbp - 0x51], r8
lea rax, [rsi + 0x80]
lea rcx, [rbp - 0x51]
cmp r8, qword [rax]
cmovb rcx, rax
mov r8, qword [rcx]
sub r8, rdx
jmp 0x140002fb2
test cl, 4
jne 0x140002faa
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002faa
mov rax, qword [rsi + 0x30]
mov rdx, qword [rax]
mov rax, qword [rsi + 0x68]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140002fb2
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
test rdx, rdx
je 0x140002fc1
lea rcx, [rbp - 0x31]
call fcn.1400066f0
nop
mov r8d, 1
lea rdx, [0x14000a9b4]
lea rcx, [rbp - 0x31]
call fcn.140006640
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, r14
cmp qword [0x1400100d8], 0xf
cmova rdx, qword [0x1400100c0]
mov r8, qword [0x1400100d0]
lea rcx, [rbp - 0x11]
call fcn.140006640
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [0x140010198]
cmp rdx, 0xf
jbe 0x14000307a
mov rcx, qword [0x140010180]
inc rdx
cmp rdx, 0x1000
jb 0x140003075
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030c1
mov rcx, r8
call fcn.1400082bc
movups xmmword [0x140010180], xmm6
movups xmmword [0x140010190], xmm7
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400030cd
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030c8
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.1400082bc
movdqa xmm0, xmmword [0x14000bea0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14000311c
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003117
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400082bc
cmp qword [0x140010198], 0xf
jbe 0x140003140
mov rdx, qword [0x140010180]
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003130
jmp 0x14000314c
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140003140
mov rdx, rdi
xor r9d, r9d
mov r8d, ebx
mov rcx, qword [0x140010f98]
call qword [sym.imp.WS2_32.dll_send]
mov dword [0x140010ddc], eax
mov edx, 3
mov rcx, qword [0x14008b640]
cmp eax, 0xffffffff
jne 0x140003206
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._DEBUG___TIME_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400069c0
mov rbx, rax
lea rcx, [0x14008b648]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64]
mov rdx, rax
mov rcx, rbx
call fcn.1400069c0
mov rcx, rax
lea rdx, [0x14000a9b4]
call fcn.1400069c0
mov edx, recv
mov rcx, qword [0x14008b640]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR___SOCKET__Res_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400069c0
mov edx, dword [0x140010ddc]
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___long_int____ptr64]
lea rdx, [0x140006b90]
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]
jmp 0x1400032a3
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._DEBUG___TIME_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400069c0
mov rbx, rax
lea rcx, [0x14008b648]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64]
mov rdx, rax
mov rcx, rbx
call fcn.1400069c0
mov rcx, rax
lea rdx, [0x14000a9b4]
call fcn.1400069c0
mov edx, 2
mov rcx, qword [0x14008b640]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._DEBUG___SEND__n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400069c0
mov rdx, rdi
cmp qword [0x140010198], 0xf
cmova rdx, qword [0x140010180]
mov r8, qword [0x140010190]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007750
mov rcx, rax
lea rdx, [0x14000aa7c]
call fcn.1400069c0
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
xor edx, edx
mov r8d, 0x7a180
lea rcx, [0x1400114c0]
call sub.VCRUNTIME140.dll_memset
mov dword [0x140010dd8], r12d
cmp qword [0x140010198], 0xf
cmova rdi, qword [0x140010180]
mov qword [0x140010190], r12
mov byte [rdi], 0
cmp qword [0x140010118], 0xf
cmova r15, qword [0x140010100]
mov qword [0x140010110], r12
mov byte [r15], 0
cmp qword [0x1400100d8], 0xf
cmova r14, qword [0x1400100c0]
mov qword [0x1400100d0], r12
mov byte [r14], 0
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140008020
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret