Function at 0x14001a4a0
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 [0x1400c5048]
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.140019420
test al, al
je 0x14001a9f3
mov r9, rsi
mov r8, r14
mov rdx, rbx
call fcn.140016c30
test al, al
je 0x14001a9ec
lea rdx, [rsi + 0x48]
mov rcx, rbx
call fcn.140011b70
test al, al
je 0x14001a9ec
mov r13d, dword [rsi + 0x20]
cmp r13d, 0xcc
je 0x14001a827
mov rbx, qword [r14 + 0x10]
mov rcx, r14
mov rax, qword [r14 + 0x18]
cmp rax, 0x10
jb 0x14001a556
mov rcx, qword [r14]
cmp rbx, 4
jne 0x14001a577
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001a827
mov rax, qword [r14 + 0x18]
mov rcx, r14
cmp rax, 0x10
jb 0x14001a583
mov rcx, qword [r14]
cmp rbx, 7
jne 0x14001a5a0
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001a827
lea eax, [r13 - 0x12d]
cmp eax, 0x62
ja 0x14001a5ba
cmp byte [r12 + 0x241], dil
je 0x14001a5ba
mov al, 1
jmp 0x14001a5bc
xor al, al
mov byte [rbp + 0xf0], al
mov rcx, qword [r14 + 0x1b8]
test rcx, rcx
je 0x14001a5eb
test al, al
jne 0x14001a5eb
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14001a5eb
mov dword [r15], 7
jmp 0x14001a9f3
cmp qword [r14 + 0x1f8], rdi
je 0x14001a625
lea rax, [0x1400a3660]
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 0x14001a645
lea rax, [0x1400a3510]
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.14001e9e0
nop
test dil, 2
je 0x14001a682
and edi, 0xfffffffd
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14001a682
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x68], r13
test dil, 1
je 0x14001a6a4
and edi, 0xfffffffe
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001a6a4
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
movzx ebx, byte [r12 + 0x291]
mov qword [rbp + 0xa8], r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x70]
call fcn.14001e9e0
lea rax, [rbp + 0x70]
mov qword [rbp + 0x20], rax
lea rax, [0x1400a38a8]
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.14001e9e0
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.140023a60
movzx ebx, al
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14001a7b3
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 0x14001a7cf
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x14001a808
cmp dword [r15], 7
je 0x14001a7e0
mov dword [r15], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14001a9f3
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14001a9f3
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14001a827
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
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.140001e10
nop
or edi, 4
mov dword [rbp + 0xf4], edi
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 0x48]
call fcn.140011a70
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 0x14001a880
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001e10
or edi, 0x18
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
cmp r8, 5
jne 0x14001a8c6
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001a915
mov r8, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001a8d7
mov rcx, qword [rsi]
cmp r8, 8
jne 0x14001a919
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001a919
lea rcx, [rsi + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a8ff
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x14001a915
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001a919
mov bl, 1
jmp 0x14001a91b
xor bl, bl
test dil, 8
je 0x14001a92f
and edi, 0xfffffff7
lea rcx, [rsp + 0x60]
call fcn.1400040d0
nop
test dil, 4
je 0x14001a93f
lea rcx, [rsp + 0x38]
call fcn.1400040d0
test bl, bl
je 0x14001a9cf
lea rbx, [r12 + 0x60]
mov qword [rbp - 0x70], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001a969
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 0x14001a984
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 + 0x18]
mov rcx, qword [r12 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14001a9ac
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14001a9c6
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 0x14001a9e8
mov rax, qword [rcx]
mov r8, rsi
mov rdx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14001a9f5
mov dword [r15], 4
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140092210
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret