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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov rax, qword [0x14015d460]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, r9
mov qword [rbp - 0x49], r9
mov rbx, r8
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdx
mov r15, rcx
lea rsi, [rcx + 0xb0]
mov qword [rbp - 0x41], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001b90f
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea rdi, [r15 + 0x60]
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001b92e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov byte [r15 + 0x10c], 0
lea r13, [r15 + 0x50]
mov r14, qword [r13]
cmp r14, 0xffffffffffffffff
je 0x14001b9e9
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140015540
test rax, rax
je 0x14001ba82
jns 0x14001b96b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 9
je 0x14001b9ad
lea rsi, [rbp + 7]
nop
mov r9d, 2
lea r8d, [r9 - 1]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14001b998
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14001b970
test rbx, rbx
lea rsi, [r15 + 0xb0]
jg 0x14001ba82
mov rbx, qword [rsp + 0x40]
mov rax, qword [r15]
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call qword [rax + Ordinal_26]
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001b9d1
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001b9e9
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r13], 0xffffffffffffffff
mov rax, qword [r15]
mov r8, r12
mov rdx, r13
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x14001bb45
mov rax, qword [r15]
mov rcx, r15
call qword [rax + Ordinal_41]
test al, al
je 0x14001ba82
cmp qword [r15 + 0x2c8], 0
je 0x14001ba49
cmp dword [r15 + 0x2d8], 0xffffffff
je 0x14001ba49
mov byte [rbp + 7], 0
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
mov r8, rbx
mov rdx, r13
mov rcx, r15
call fcn.14001f980
test al, al
jne 0x14001ba49
movzx ebx, byte [rbp + 7]
jmp 0x14001bb47
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], r13
lea r8, [r15 + 0x418]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x79]
mov rdx, qword [r15 + 0x410]
mov rcx, qword [r13]
call fcn.14006be20
test rax, rax
je 0x14001bb18
mov qword [r13 + 8], rax
inc qword [r15 + 0x100]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [r15 + 0x108], eax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [r15 + 0x120]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14001bb85
mov rsi, qword [rsp + 0x38]
nop dword [rax + rax]
mov r14, qword [rsi + 0x40]
lea rdx, [rbx + 0x20]
lea rcx, [rsi + 0x40]
call fcn.14006d260
cmp rax, r14
jne 0x14001bae8
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x40]
call fcn.14006a940
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001bb55
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001bb13
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14001bb13
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001bb00
mov rbx, rax
jmp 0x14001bb70
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001bb2d
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001bb45
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r13], 0xffffffffffffffff
xor bl, bl
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x14001bc8f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14001bb70
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001bb61
cmp byte [rbx + 0x19], 0
je 0x14001bac0
lea rsi, [r15 + 0xb0]
mov r12, qword [rbp - 0x49]
cmp byte [r15 + 0x240], 0
sete byte [rbp + 8]
mov qword [rbp - 0x79], r15
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x71], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x69], rax
lea rax, [rbp + 8]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], r12
lea rax, 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], rax
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x21], xmm1
movsd xmm0, qword [rbp - 0x59]
movsd qword [rbp - 0x11], xmm0
lea rax, [rbp - 0x39]
mov qword [rbp - 1], rax
mov rax, qword [r15]
lea r8, [rbp - 0x39]
mov rdx, r13
mov rcx, r15
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
movzx ebx, al
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001bc0e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
sub qword [r15 + 0x100], 1
jne 0x14001bc23
mov dword [r15 + 0x108], 0
cmp byte [r15 + 0x10c], 0
jne 0x14001bc37
cmp byte [rbp + 8], 0
jne 0x14001bc37
test bl, bl
jne 0x14001bc73
mov rax, qword [r15]
mov r8b, 1
mov rdx, r13
mov rcx, r15
call qword [rax + Ordinal_26]
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001bc5b
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r13]
cmp rcx, 0xffffffffffffffff
je 0x14001bc73
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r13], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
jne 0x14001bc8f
cmp dword [r12], 0
jne 0x14001bc8f
mov dword [r12], 1
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140106d80
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret