Function at 0x1400ff970
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rsi, r9
mov r14, r8
mov rbx, rdx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x34], r15d
mov r12, qword [rbp + 0x9e8]
mov qword [rsp + 0x20], r12
movzx r9d, byte [rbp + 0x9e0]
call fcn.1400fe730
test al, al
je 0x1400ffb0d
mov r9, rsi
mov r8, r14
mov rdx, rbx
call fcn.1400fc1f0
test al, al
je 0x1400ffb05
mov qword [rsp + 0x70], rbx
lea rax, [rbp + 0x180]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 0x800
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], dil
lea rcx, [rsp + 0x70]
call fcn.1400f9820
test al, al
je 0x1400ffafc
nop word [rax + rax]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
sete r8b
mov r11, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x70]
mov r9, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400ffa52
mov rax, r9
jmp 0x1400ffa5e
lea rax, [rbp - 0x70]
cmp r11, 0xf
cmova rax, rbx
mov rdx, qword [rbp - 0x78]
test r8b, r8b
je 0x1400ffa70
lea r10, [rax + rdx]
mov rax, rdx
jmp 0x1400ffa77
lea r10, [rax + rcx]
mov rax, rcx
cmp rax, 2
jb 0x1400ffaea
cmp byte [r10 - 2], 0xd
jne 0x1400ffaea
cmp byte [r10 - 1], 0xa
jne 0x1400ffaea
mov rax, rcx
test r8b, r8b
cmovne rax, rdx
cmp rax, 2
je 0x1400ffb2a
mov rax, rcx
test r8b, r8b
cmovne rax, rdx
cmp rax, 0x2000
ja 0x1400ffafc
test r8b, r8b
lea r8, [rsi + 0x48]
je 0x1400ffac3
add rdx, 0xfffffffffffffffe
add rdx, r9
jmp 0x1400ffae2
lea rdx, [rbp - 0x70]
cmp r11, 0xf
cmova rdx, rbx
add rdx, 0xfffffffffffffffe
add rdx, rcx
lea r9, [rbp - 0x70]
cmp r11, 0xf
cmova r9, rbx
mov rcx, r9
call fcn.140102f30
lea rcx, [rsp + 0x70]
call fcn.1400f9820
test al, al
jne 0x1400ffa30
lea rcx, [rbp - 0x70]
call fcn.1400672c0
mov dword [r12], 4
xor al, al
mov rbx, qword [rsp + 0xad0]
add rsp, 0xa80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x70]
call fcn.1400672c0
mov r13d, dword [rsi + 0x20]
cmp r13d, 0xcc
je 0x1400ffe37
mov rcx, r14
mov r15, qword [r14 + 0x18]
cmp r15, 0xf
jbe 0x1400ffb54
mov rcx, qword [r14]
mov rbx, qword [r14 + 0x10]
cmp rbx, 4
jne 0x1400ffb75
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ffe37
mov rcx, r14
cmp r15, 0xf
jbe 0x1400ffb81
mov rcx, qword [r14]
cmp rbx, 7
jne 0x1400ffb9e
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ffe37
lea eax, [r13 - 0x12d]
mov r13, qword [rbp + 0x9c0]
cmp eax, 0x62
ja 0x1400ffbbf
cmp byte [r13 + 0x1f9], 0
je 0x1400ffbbf
mov al, 1
jmp 0x1400ffbc1
xor al, al
mov byte [rsp + 0x30], al
mov rcx, qword [r14 + 0x1e0]
test rcx, rcx
je 0x1400ffbef
test al, al
jne 0x1400ffbef
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400ffbef
mov dword [r12], 7
jmp 0x1400ffb0d
cmp qword [r14 + 0x220], 0
je 0x1400ffc28
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_8c88a3df46b01d71d8ef5c0ff51bab49___bool__char_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r12
lea rax, [rbp + 0x28]
mov qword [rbp + 0x60], rax
lea rdx, [rbp + 0x28]
mov edi, 1
jmp 0x1400ffc4e
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_4c84074cd69ef7a113fa1311e3ab4a77___bool__char_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rsi
lea rax, [rbp + 0x78]
mov qword [rbp + 0xb0], rax
lea rdx, [rbp + 0x78]
mov edi, 2
xor r15d, r15d
mov qword [rbp + 0x138], r15
lea rcx, [rbp + 0x100]
call fcn.1401029c0
nop
test dil, 2
je 0x1400ffc91
and edi, 0xfffffffd
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x1400ffc91
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xb0], r15
test dil, 1
je 0x1400ffcb3
and edi, 0xfffffffe
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400ffcb3
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xf0], r15
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb8]
call fcn.1401029c0
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x68], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_f0a65666dc9b03b1b99cc705250459b7___bool__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r14
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
mov qword [rbp], r12
lea rax, [rbp - 0x18]
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x70], rax
movzx ebx, byte [r13 + 0x249]
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rax, qword [rbp + 0x9c8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x30], xmm0
mov qword [rbp + 0x178], r15
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x140]
call fcn.1401029c0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
movzx r9d, bl
lea r8, [rbp + 0x140]
lea rdx, [rsp + 0x34]
mov rcx, rsi
call fcn.140105df0
movzx ebx, al
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400ffdbc
mov r8, qword [rcx]
lea rax, [rbp - 0x18]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp + 0x20], r15
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x1400ffddb
mov rax, qword [rcx]
lea rdx, [rbp + 0xb8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x1400ffe16
cmp dword [r12], 7
je 0x1400ffdee
mov dword [r12], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400ffb0d
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1400ffb0d
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400ffe3e
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1400ffe3e
mov r13, qword [rbp + 0x9c0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0xa
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Connection]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x1401340d0]
mov word [rbp - 0x48], ax
mov byte [rbp - 0x46], 0
or edi, 4
mov dword [rsp + 0x34], edi
lea rcx, [rsi + 0x48]
lea rdx, [rbp - 0x50]
call fcn.1400fa0e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400ffea0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400a5790
or edi, 0x18
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp r15, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, 5
jne 0x1400ffeec
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400fff3c
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400ffef9
mov rcx, qword [rsi]
mov r8, qword [rsi + 0x10]
cmp r8, 8
jne 0x1400fff41
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400fff41
lea rcx, [rsi + 0x28]
cmp qword [rsi + 0x40], 0xf
jbe 0x1400fff22
mov rcx, qword [rsi + 0x28]
mov r8, qword [rsi + 0x38]
cmp r8, 0x16
jne 0x1400fff3c
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400fff41
mov r12b, 1
jmp 0x1400fff44
xor r12b, r12b
test dil, 8
je 0x1400fff88
and edi, 0xfffffff7
cmp r15, 0xf
jbe 0x1400fff88
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400fff7f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fff7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14010b6e8
nop
test dil, 4
je 0x1400fffcc
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400fffcc
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fffc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fffc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
test r12b, r12b
je 0x14010008b
lea rbx, [r13 + 0x58]
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400ffff6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x140100011
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rax, qword [r13]
mov r8b, 1
lea rdx, [r13 + 0x50]
mov rcx, r13
call qword [rax + 0x18]
mov rcx, qword [r13 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140100037
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
cmp qword [r13 + 0xf8], 0
je 0x14010006a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [r13 + 0x100], eax
je 0x14010006a
mov r8d, 0x18c1
lea rdx, str.E:ReposSimHapticlibshttplibhttplib.h
lea rcx, str.socket_requests_in_flight___0__socket_requests_are_from_thread___std::this_thread::get_id__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r13 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140100082
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r13 + 0x50], 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [r13 + 0x330]
test rcx, rcx
je 0x1401000a3
mov rax, qword [rcx]
mov r8, rsi
mov rdx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400ffb0f