Function at 0x14002d700
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 [0x1400f7028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov r12, qword [rbp + 0x1c8]
xor edi, edi
mov dword [rbp + 0xf4], edi
mov qword [rsp + 0x20], r12
movzx r9d, byte [rbp + 0x1c0]
call fcn.14002bcb0
test al, al
je 0x14002dcad
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
test al, al
je 0x14002d7bf
cmp qword [rsi + 0x2c8], rdi
je 0x14002d786
cmp dword [rsi + 0x2d8], 0xffffffff
jne 0x14002d7bf
mov r8d, 1
lea rdx, [rbp + 0xf0]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.libssl_1_1_x64.dll_SSL_peek]
test eax, eax
jne 0x14002d7bf
xor edx, edx
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.libssl_1_1_x64.dll_SSL_get_error]
cmp eax, 6
jne 0x14002d7bf
mov dword [r12], select
jmp 0x14002dcad
mov r9, r14
mov r8, r15
mov rdx, rbx
call fcn.1400291f0
test al, al
je 0x14002dca5
lea rdx, [r14 + 0x48]
mov rcx, rbx
call fcn.140023e40
test al, al
je 0x14002dca5
mov r13d, dword [r14 + 0x20]
cmp r13d, 0xcc
je 0x14002dadf
mov rbx, qword [r15 + 0x10]
mov rcx, r15
mov rax, qword [r15 + 0x18]
cmp rax, 0x10
jb 0x14002d80e
mov rcx, qword [r15]
cmp rbx, 4
jne 0x14002d82f
mov r8, rbx
lea rdx, str.HEAD
call sub.ntdll.dll_memcmp
test eax, eax
je 0x14002dadf
mov rax, qword [r15 + 0x18]
mov rcx, r15
cmp rax, 0x10
jb 0x14002d83b
mov rcx, qword [r15]
cmp rbx, 7
jne 0x14002d858
mov r8, rbx
lea rdx, str.CONNECT
call sub.ntdll.dll_memcmp
test eax, eax
je 0x14002dadf
lea eax, [r13 - 0x12d]
cmp eax, 0x62
ja 0x14002d871
cmp byte [rsi + 0x241], dil
je 0x14002d871
mov al, 1
jmp 0x14002d873
xor al, al
mov byte [rbp + 0xf0], al
mov rcx, qword [r15 + 0x220]
test rcx, rcx
je 0x14002d8a3
test al, al
jne 0x14002d8a3
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14002d8a3
mov dword [r12], 7
jmp 0x14002dcad
cmp qword [r15 + 0x260], rdi
je 0x14002d8dd
lea rax, [0x1400d7418]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r12
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea rdx, [rbp - 0x20]
mov edi, 1
jmp 0x14002d8fd
lea rax, [0x1400d7388]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r14
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.140034350
nop
test dil, 2
je 0x14002d93a
and edi, 0xfffffffd
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14002d93a
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 0x14002d95c
and edi, 0xfffffffe
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002d95c
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
movzx ebx, byte [rsi + 0x291]
mov qword [rbp + 0xa8], r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x70]
call fcn.140034350
lea rax, [rbp + 0x70]
mov qword [rbp + 0x20], rax
lea rax, [0x1400d7bf8]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r15
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r12
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], r14
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.140034350
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, r14
call fcn.14003aab0
movzx ebx, al
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14002da69
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 0x14002da85
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x14002dac0
cmp dword [r12], 7
je 0x14002da98
mov dword [r12], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14002dcad
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14002dcad
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14002dadf
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.140003340
nop
or edi, 4
mov dword [rbp + 0xf4], edi
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x48]
call fcn.140023d40
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002db40
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003340
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 0x14002db86
lea rdx, str.close
call sub.ntdll.dll_memcmp
test eax, eax
je 0x14002dbd5
mov r8, qword [r14 + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14002db97
mov rcx, qword [r14]
cmp r8, 8
jne 0x14002dbd9
lea rdx, str.HTTP_1.0
call sub.ntdll.dll_memcmp
test eax, eax
jne 0x14002dbd9
lea rcx, [r14 + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14002dbbf
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x14002dbd5
lea rdx, str.Connection_established
call sub.ntdll.dll_memcmp
test eax, eax
je 0x14002dbd9
mov bl, 1
jmp 0x14002dbdb
xor bl, bl
test dil, 8
je 0x14002dbef
and edi, 0xfffffff7
lea rcx, [rsp + 0x60]
call fcn.14000a3f0
nop
test dil, 4
je 0x14002dbff
lea rcx, [rsp + 0x38]
call fcn.14000a3f0
test bl, bl
je 0x14002dc89
lea rbx, [rsi + 0x60]
mov qword [rbp - 0x70], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14002dc28
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 0x14002dc43
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 [rsi]
mov r8b, 1
lea rdx, [rsi + 0x50]
mov rcx, rsi
call qword [rax + 0x18]
mov rcx, qword [rsi + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14002dc68
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsi + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14002dc80
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rsi + 0x50], 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rsi + 0x408]
test rcx, rcx
je 0x14002dca1
mov rax, qword [rcx]
mov r8, r14
mov rdx, r15
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14002dcaf
mov dword [r12], 4
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400c94e0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret