Function at 0x1400bf1e0
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov r12, rcx
mov r15, qword [rbp + 0x1c8]
xor edi, edi
mov dword [rbp + 0xf4], edi
mov qword [rsp + 0x20], r15
movzx r9d, byte [rbp + 0x1c0]
call fcn.1400be160
test al, al
je 0x1400bf733
mov r9, rsi
mov r8, r14
mov rdx, rbx
call fcn.1400bba10
test al, al
je 0x1400bf72c
lea rdx, [rsi + 0x48]
mov rcx, rbx
call fcn.1400ae090
test al, al
je 0x1400bf72c
cmp dword [rsi + 0x20], 0xcc
je 0x1400bf566
mov rbx, qword [r14 + 0x10]
mov rcx, r14
mov r13, qword [r14 + 0x18]
cmp r13, 0xf
jbe 0x1400bf292
mov rcx, qword [r14]
cmp rbx, 4
jne 0x1400bf2af
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bf566
mov rcx, r14
cmp r13, 0xf
jbe 0x1400bf2bb
mov rcx, qword [r14]
cmp rbx, 7
jne 0x1400bf2d4
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bf2d6
mov al, 1
test al, al
je 0x1400bf566
mov eax, dword [rsi + 0x20]
sub eax, reloc.WLDAP32.dll_Ordinal_301
cmp eax, 0x62
ja 0x1400bf2f9
cmp byte [r12 + 0x241], dil
je 0x1400bf2f9
mov al, 1
jmp 0x1400bf2fb
xor al, al
mov byte [rbp + 0xf0], al
mov rcx, qword [r14 + 0x1e0]
test rcx, rcx
je 0x1400bf32a
test al, al
jne 0x1400bf32a
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400bf32a
mov dword [r15], 7
jmp 0x1400bf733
cmp qword [r14 + 0x220], rdi
je 0x1400bf364
lea rax, [0x1403013c8]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r15
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea rdx, [rbp - 0x20]
mov edi, 1
jmp 0x1400bf384
lea rax, [0x140301160]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rsi
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x30]
mov edi, 2
xor r13d, r13d
mov qword [rbp + 0x138], r13
lea rcx, [rbp + 0x100]
call fcn.1400c9bf0
nop
test dil, 2
je 0x1400bf3c1
and edi, 0xfffffffd
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400bf3c1
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp + 0x68], r13
test dil, 1
je 0x1400bf3e3
and edi, 0xfffffffe
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400bf3e3
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
movzx ebx, byte [r12 + 0x291]
mov qword [rbp + 0xa8], r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x70]
call fcn.1400c9bf0
lea rax, [rbp + 0x70]
mov qword [rbp + 0x20], rax
lea rax, [0x140301660]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r14
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
lea rax, [rbp - 0x68]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0xf8], 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xf4]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0xe8], r13
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.1400c9bf0
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbp - 0x80], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
movzx r9d, bl
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0xf4]
mov rcx, rsi
call fcn.1400d12a0
movzx ebx, al
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400bf4f2
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rbp - 0x68]
cmp rcx, rax
setne dl
call r8
mov qword [rbp - 0x30], r13
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1400bf50e
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test bl, bl
jne 0x1400bf547
cmp dword [r15], 7
je 0x1400bf51f
mov dword [r15], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400bf733
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x1400bf733
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400bf566
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 0xa
lea rdx, str.Connection
lea rcx, [rsp + 0x38]
call fcn.140070cc0
nop
or edi, 4
mov dword [rbp + 0xf4], edi
lea rcx, [rsi + 0x48]
lea rdx, [rsp + 0x38]
call fcn.1400adf90
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400bf5c0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140070cc0
or edi, 0x18
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
cmp r8, 5
jne 0x1400bf606
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bf655
mov r8, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400bf617
mov rcx, qword [rsi]
cmp r8, 8
jne 0x1400bf659
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400bf659
lea rcx, [rsi + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400bf63f
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x1400bf655
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bf659
mov bl, 1
jmp 0x1400bf65b
xor bl, bl
test dil, 8
je 0x1400bf66f
and edi, 0xfffffff7
lea rcx, [rsp + 0x60]
call fcn.14005d600
nop
test dil, 4
je 0x1400bf67f
lea rcx, [rsp + 0x38]
call fcn.14005d600
test bl, bl
je 0x1400bf70f
lea rbx, [r12 + 0x60]
mov qword [rbp - 0x70], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400bf6a9
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 0x1400bf6c4
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 [r12]
mov r8b, 1
lea rdx, [r12 + 0x50]
mov rcx, r12
call qword [rax + Ordinal_26]
mov rcx, qword [r12 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x1400bf6ec
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x1400bf706
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r12 + 0x50], 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [r12 + 0x408]
test rcx, rcx
je 0x1400bf728
mov rax, qword [rcx]
mov r8, rsi
mov rdx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400bf735
mov dword [r15], 4
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140264720
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret