Function at 0x140006d00
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r9
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x51], r8
mov qword [rsp + 0x20], rdx
mov r15, rcx
mov qword [rbp - 0x69], rcx
lea rsi, [rcx + 0xa8]
mov qword [rbp + 7], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140006d65
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x140006d80
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdi, [r15 + 0x58]
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140007181
lea r13, [rdi + 0x4c]
mov eax, dword [r13]
cmp eax, 0x7fffffff
je 0x1400070bd
mov byte [r15 + 0x104], 0
lea r12, [r15 + 0x50]
mov qword [rbp - 0x59], r12
mov r14, qword [r12]
cmp r14, 0xffffffffffffffff
je 0x140006e6f
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1400030f0
test rax, rax
je 0x140006e92
jns 0x140006dee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 9
je 0x140006e33
lea r15, [rbp + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r9d, 2
lea r8d, [r9 - 1]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x140006e27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140006e00
test ebx, ebx
mov r15, qword [rbp - 0x69]
jg 0x140006e92
mov rbx, qword [rbp - 0x61]
mov rax, qword [r15]
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [rax + 0x18]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140006e57
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140006e6f
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r12], 0xffffffffffffffff
mov rax, qword [r15]
mov r8, rbx
mov rdx, r12
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140006e92
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
xor bl, bl
jmp 0x14000714e
inc qword [r15 + 0xf8]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [r15 + 0x100], eax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [r15 + 0x118]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140007045
mov r14, qword [rsp + 0x20]
add r14, 0x40
nop dword [rax]
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.140013150
mov r15, qword [r14]
cmp rax, r15
jne 0x140006fdc
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0
mov ecx, 0x60
call fcn.14001e718
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x41], rax
lea r14, [rax + 0x20]
lea r12, [rax + 0x20]
mov qword [rsp + 0x30], r14
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.14000f2f0
nop
lea rcx, [r14 + 0x20]
lea rdx, [rbx + 0x40]
call fcn.14000f2f0
nop
mov rcx, qword [rsp + 0x28]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov word [rcx + 0x18], 0
mov r15, qword [rsp + 0x20]
mov rax, qword [r15 + 0x40]
mov r14, qword [rax + 8]
mov qword [rsp + 0x30], r14
xor r13d, r13d
mov dword [rsp + 0x38], r13d
cmp byte [r14 + 0x19], r13b
jne 0x140006fa6
nop word [rax + rax]
mov qword [rsp + 0x30], r14
lea r8, [r14 + 0x20]
mov rdx, r12
call fcn.140002080
test al, al
je 0x140006f92
mov dword [rsp + 0x38], 1
mov r14, qword [r14]
jmp 0x140006f9b
mov dword [rsp + 0x38], r13d
mov r14, qword [r14 + 0x10]
cmp byte [r14 + 0x19], r13b
je 0x140006f70
mov rcx, qword [rsp + 0x28]
lea r14, [r15 + 0x40]
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [r14 + 8], rax
je 0x14000718d
mov qword [rbp - 0x41], r13
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rcx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140014360
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140007008
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140007003
cmp rbx, qword [rax + 0x10]
jne 0x140007003
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140006ff0
mov rbx, rax
jmp 0x14000702f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14000702f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140007020
cmp byte [rbx + 0x19], 0
je 0x140006ed0
mov r15, qword [rbp - 0x69]
mov r12, qword [rbp - 0x59]
lea r13, [rdi + 0x4c]
cmp byte [r15 + 0x1f8], 0
sete byte [rbp + 0xf]
mov rax, qword [r15]
lea rcx, vtable.std::_Func_impl_no_alloc_class__public:_bool___cdecl_httplib::ClientImpl::send_struct_httplib::Request____ptr64__struct_httplib::Response____ptr64__enum_httplib::Error____ptr64____ptr64::_2::_lambda_1___bool__class_httplib::Stream____ptr64_.0
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], r15
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x29], rcx
mov rcx, qword [rbp - 0x51]
mov qword [rbp - 0x21], rcx
lea rcx, [rbp + 0xf]
mov qword [rbp - 0x19], rcx
mov r14, qword [rbp - 0x61]
mov qword [rbp - 0x11], r14
lea rcx, [rbp - 0x39]
mov qword [rbp - 1], rcx
lea r8, [rbp - 0x39]
mov rdx, r12
mov rcx, r15
call qword [rax + 0x20]
movzx ebx, al
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140007181
mov eax, dword [r13]
cmp eax, 0x7fffffff
jne 0x1400070cf
dec eax
mov dword [r13], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
sub qword [r15 + 0xf8], 1
jne 0x1400070e4
mov dword [r15 + 0x100], 0
cmp byte [r15 + 0x104], 0
jne 0x1400070f8
cmp byte [rbp + 0xf], 0
jne 0x1400070f8
test bl, bl
jne 0x140007134
mov rax, qword [r15]
mov r8b, 1
mov rdx, r12
mov rcx, r15
call qword [rax + 0x18]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x14000711c
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140007134
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r12], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
jne 0x14000714e
cmp dword [r14], 0
jne 0x14000714e
mov dword [r14], 1
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14001e5d0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140002060
int3