Function at 0x18011b120
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 [0x180350010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x58], rdx
mov r15, rcx
mov r14, qword [rbp + 0x1c8]
mov dword [rbp + 0xf4], 0
mov qword [rsp + 0x20], r14
movzx r9d, byte [rbp + 0x1c0]
call fcn.180119cc0
test al, al
je 0x18011b62e
mov r9, rdi
mov r8, rsi
mov rdx, rbx
call fcn.1801177a0
test al, al
je 0x18011b627
lea rdx, [rdi + 0x48]
mov rcx, rbx
call fcn.180112e90
test al, al
je 0x18011b627
mov r13d, dword [rdi + 0x20]
cmp r13d, 0xcc
je 0x18011b4ab
mov rcx, rsi
mov r12, qword [rsi + 0x18]
cmp r12, 0x10
jb 0x18011b1d4
mov rcx, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, 4
jne 0x18011b1f5
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18011b4ab
mov rcx, rsi
cmp r12, 0x10
jb 0x18011b201
mov rcx, qword [rsi]
cmp rbx, 7
jne 0x18011b21e
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18011b4ab
lea eax, [r13 - 0x12d]
cmp eax, 0x62
ja 0x18011b238
cmp byte [r15 + 0x241], 0
je 0x18011b238
mov al, 1
jmp 0x18011b23a
xor al, al
mov byte [rbp + 0xf0], al
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x18011b269
test al, al
jne 0x18011b269
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x18011b269
mov dword [r14], 7
jmp 0x18011b62e
cmp qword [rsi + 0x1f8], 0
je 0x18011b2a4
lea rax, [0x180329fb0]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r14
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x50]
mov ebx, 1
jmp 0x18011b2c4
lea rax, [0x180329ea0]
mov qword [rbp], rax
mov qword [rbp + 8], rdi
lea rax, [rbp]
mov qword [rbp + 0x38], rax
lea rdx, [rbp]
mov ebx, 2
xor r12d, r12d
mov qword [rbp + 0x138], r12
lea rcx, [rbp + 0x100]
call fcn.18011f070
nop
test bl, 2
je 0x18011b300
and ebx, 0xfffffffd
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x18011b300
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x38], r12
test bl, 1
je 0x18011b31e
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x18011b31e
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
movzx ebx, byte [r15 + 0x291]
mov qword [rbp + 0x78], r12
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x40]
call fcn.18011f070
lea rax, [rbp + 0x40]
mov qword [rbp - 0x10], rax
lea rax, [0x18032a1d8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rsi
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r14
lea rax, [rsp + 0x68]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0xf8], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xf4]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0xe8], r12
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.18011f070
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x90], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp + 0xa0], xmm0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
movzx r9d, bl
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0xf4]
mov rcx, rdi
call fcn.180122c40
movzx ebx, al
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18011b43a
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rsp + 0x68]
cmp rcx, rax
setne dl
call r8
mov qword [rbp - 0x60], r12
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x18011b453
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x18011b48c
cmp dword [r14], 7
je 0x18011b464
mov dword [r14], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x18011b62e
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x18011b62e
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x18011b4ab
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rdx, str.Connection
lea rcx, [rdi + 0x48]
call fcn.180112bc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18011b4d3
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180071bc0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r8, 5
jne 0x18011b516
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18011b572
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18011b523
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, 8
jne 0x18011b601
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18011b601
lea rcx, [rdi + 0x28]
cmp qword [rdi + 0x40], 0x10
jb 0x18011b554
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x38]
cmp r8, 0x16
jne 0x18011b572
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18011b601
lea rcx, [rsp + 0x30]
call fcn.180071b60
lea rbx, [r15 + 0x60]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18011b59e
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 0x18011b5b9
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 [r15]
mov r8b, 1
lea rdx, [r15 + 0x50]
mov rcx, r15
call qword [rax + 0x18]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x18011b5de
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x18011b5f6
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15 + 0x50], 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x18011b60b
lea rcx, [rsp + 0x30]
call fcn.180071b60
mov rcx, qword [r15 + 0x408]
test rcx, rcx
je 0x18011b623
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x18011b630
mov dword [r14], 4
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.18012c2e0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret