Function at 0x180007680
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 [0x180067080]
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 fcn.18002a6f0
test eax, eax
jne 0x180007ae1
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x180007aec
lea rdi, [r15 + 0x58]
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call fcn.18002a6f0
test eax, eax
jne 0x180007ad6
lea r13, [rdi + 0x4c]
mov eax, dword [r13]
cmp eax, 0x7fffffff
je 0x180007afc
mov byte [r15 + 0x104], 0
lea r12, [r15 + 0x50]
mov qword [rbp - 0x59], r12
mov r14, qword [r12]
cmp r14, 0xffffffffffffffff
je 0x1800077ce
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.180003850
test rax, rax
je 0x1800077f0
jns 0x180007756
call fcn.180039838
cmp dword [rax], 9
je 0x180007792
lea r15, [rbp + 0x10]
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 0x180007786
call fcn.180039838
cmp dword [rax], 4
je 0x180007760
test ebx, ebx
mov r15, qword [rbp - 0x69]
jg 0x1800077f0
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 0x1800077b6
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x1800077ce
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 0x1800077f0
mov rcx, rdi
call fcn.18002a6f8
xor bl, bl
jmp 0x180007a9e
inc qword [r15 + 0xf8]
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [r15 + 0x100], eax
mov rcx, rdi
call fcn.18002a6f8
mov rbx, qword [r15 + 0x118]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1800079a5
mov r14, qword [rsp + 0x20]
add r14, 0x40
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.180013130
mov r15, qword [r14]
cmp rax, r15
jne 0x18000793c
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0
mov ecx, 0x60
call fcn.18002b688
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.18000fcf0
nop
lea rcx, [r14 + 0x20]
lea rdx, [rbx + 0x40]
call fcn.18000fcf0
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 0x180007906
nop word [rax + rax]
mov qword [rsp + 0x30], r14
lea r8, [r14 + 0x20]
mov rdx, r12
call fcn.180002320
test al, al
je 0x1800078f2
mov dword [rsp + 0x38], 1
mov r14, qword [r14]
jmp 0x1800078fb
mov dword [rsp + 0x38], r13d
mov r14, qword [r14 + 0x10]
cmp byte [r14 + 0x19], r13b
je 0x1800078d0
mov rcx, qword [rsp + 0x28]
lea r14, [r15 + 0x40]
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [r14 + 8], rax
je 0x180007ad0
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.1800151d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180007968
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180007963
cmp rbx, qword [rax + 0x10]
jne 0x180007963
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180007950
mov rbx, rax
jmp 0x18000798f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18000798f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180007980
cmp byte [rbx + 0x19], 0
je 0x180007830
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 fcn.18002a6f0
test eax, eax
jne 0x180007ad6
mov eax, dword [r13]
cmp eax, 0x7fffffff
je 0x180007afc
sub qword [r15 + 0xf8], 1
jne 0x180007a35
mov dword [r15 + 0x100], 0
cmp byte [r15 + 0x104], 0
jne 0x180007a49
cmp byte [rbp + 0xf], 0
jne 0x180007a49
test bl, bl
jne 0x180007a85
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 0x180007a6d
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x180007a85
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r12], 0xffffffffffffffff
mov rcx, rdi
call fcn.18002a6f8
test bl, bl
jne 0x180007a9e
cmp dword [r14], 0
jne 0x180007a9e
mov dword [r14], 1
mov rcx, rsi
call fcn.18002a6f8
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18002b540
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180002010
nop
mov ecx, 5
call fcn.180029c38
nop
mov ecx, 5
call fcn.180029c38
int3
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call fcn.180029c38
nop
dec eax
mov dword [r13], eax
mov ecx, 6
call fcn.180029c38
int3