Function at 0x140036580
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 - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rbp - 0x50], rdx
mov r15, rcx
mov r14, qword [rbp + 0x128]
mov dword [rbp + 0x54], 0
mov qword [rsp + 0x20], r14
movzx r9d, byte [rbp + 0x120]
call fcn.1400354e0
test al, al
je 0x140036a68
mov r9, rdi
mov r8, rsi
mov rdx, rbx
call fcn.140032f70
test al, al
je 0x140036a61
lea rdx, [rdi + 0x48]
mov rcx, rbx
call fcn.14002df20
test al, al
je 0x140036a61
mov r13d, dword [rdi + 0x20]
cmp r13d, 0xcc
je 0x140036901
mov rcx, rsi
mov r12, qword [rsi + 0x18]
cmp r12, 0x10
jb 0x140036630
mov rcx, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, 4
jne 0x140036651
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140036901
mov rcx, rsi
cmp r12, 0x10
jb 0x14003665d
mov rcx, qword [rsi]
cmp rbx, 7
jne 0x14003667a
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140036901
lea eax, [r13 - 0x12d]
cmp eax, 0x62
ja 0x140036694
cmp byte [r15 + 0x241], 0
je 0x140036694
mov al, 1
jmp 0x140036696
xor al, al
mov byte [rbp + 0x50], al
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x1400366c2
test al, al
jne 0x1400366c2
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400366c2
mov dword [r14], 7
jmp 0x140036a68
cmp qword [rsi + 0x1f8], 0
je 0x140036711
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r14
lea rax, [0x1400efac0]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rbp - 0x28], xmm1
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x40]
mov ebx, 1
jmp 0x140036735
lea rax, [0x1400ef970]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov ebx, 2
xor r12d, r12d
mov qword [rbp + 0x98], r12
lea rcx, [rbp + 0x60]
call fcn.14003de90
nop
test bl, 2
je 0x14003676f
and ebx, 0xfffffffd
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14003676f
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x58], r12
test bl, 1
je 0x14003678d
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14003678d
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x30], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov qword [rbp + 0x48], r12
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14003de90
lea rax, [rbp + 0x10]
mov qword [rbp], rax
lea rax, [0x1400efd08]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rbp - 0x78], xmm1
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 8], rax
movzx ebx, byte [r15 + 0x291]
mov qword [rbp + 0x58], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x20], xmm0
mov qword [rsp + 0x68], r12
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14003de90
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
movzx r9d, bl
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x54]
mov rcx, rdi
call fcn.1400422a0
movzx ebx, al
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140036896
mov r8, qword [rcx]
lea rax, [rsp + 0x70]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp - 0x58], r12
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400368af
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x1400368e5
cmp dword [r14], 7
je 0x1400368c0
mov dword [r14], 4
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140036a68
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140036a68
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140036901
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rdx, str.Connection
lea rcx, [rdi + 0x48]
call fcn.14002ddf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140036930
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r8, 5
jne 0x140036973
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400369cb
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140036980
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, 8
jne 0x140036a3b
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140036a3b
lea rcx, [rdi + 0x28]
cmp qword [rdi + 0x40], 0x10
jb 0x1400369b1
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x38]
cmp r8, 0x16
jne 0x1400369cb
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140036a3b
lea rcx, [rsp + 0x30]
call fcn.140027180
lea rbx, [r15 + 0x60]
mov qword [rbp - 0x48], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400369f3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_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 0x140036a18
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140036a30
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 0x140036a45
lea rcx, [rsp + 0x30]
call fcn.140027180
mov rcx, qword [r15 + 0x408]
test rcx, rcx
je 0x140036a5d
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x140036a6a
mov dword [r14], 4
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400d1560
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret