Function at 0x14003a050
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 - 0x128]
sub rsp, 0x228
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r9
mov rsi, r8
mov r13, rdx
mov r15, rcx
mov r14, qword [rbp + 0x198]
mov dword [rbp + 0xc4], 0
mov qword [rsp + 0x20], r14
movzx r9d, byte [rbp + 0x190]
call fcn.140038ee0
test al, al
je 0x14003a551
mov r9, rdi
mov r8, rsi
mov rdx, r13
call fcn.140036910
test al, al
je 0x14003a54a
lea rdx, [rdi + 0x48]
mov rcx, r13
call fcn.1400319c0
test al, al
je 0x14003a54a
cmp dword [rdi + 0x20], 0xcc
je 0x14003a3ce
mov rcx, rsi
mov r12, qword [rsi + 0x18]
cmp r12, 0xf
jbe 0x14003a0fb
mov rcx, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, 4
jne 0x14003a11c
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003a3ce
mov rcx, rsi
cmp r12, 0xf
jbe 0x14003a128
mov rcx, qword [rsi]
cmp rbx, 7
jne 0x14003a141
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003a143
mov al, 1
test al, al
je 0x14003a3ce
mov eax, dword [rdi + 0x20]
sub eax, 0x12d
cmp eax, 0x62
ja 0x14003a166
cmp byte [r15 + 0x241], 0
je 0x14003a166
mov al, 1
jmp 0x14003a168
xor al, al
mov byte [rbp + 0xc0], al
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x14003a197
test al, al
jne 0x14003a197
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14003a197
mov dword [r14], 7
jmp 0x14003a551
cmp qword [rsi + 0x1f8], 0
je 0x14003a1d2
lea rax, [0x14012fc50]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r14
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x40]
mov ebx, 1
jmp 0x14003a1f2
lea rax, [0x14012faf0]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov ebx, 2
xor r12d, r12d
mov qword [rbp + 0x108], r12
lea rcx, [rbp + 0xd0]
call fcn.14004e080
nop
test bl, 2
je 0x14003a22e
and ebx, 0xfffffffd
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14003a22e
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x48], r12
test bl, 1
je 0x14003a24c
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14003a24c
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x88], r12
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x50]
call fcn.14004e080
lea rax, [rbp + 0x50]
mov qword [rbp], rax
lea rax, [0x14012fe98]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rsi
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rbp + 8], rax
movzx ebx, byte [r15 + 0x291]
mov qword [rbp + 0xc8], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0xa0], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp + 0xb0], xmm0
mov qword [rsp + 0x68], r12
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004e080
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
movzx r9d, bl
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc4]
mov rcx, rdi
call fcn.140052a90
movzx ebx, al
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14003a35a
mov r8, qword [rcx]
lea rax, [rsp + 0x78]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp - 0x50], r12
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14003a376
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test bl, bl
jne 0x14003a3af
cmp dword [r14], 7
je 0x14003a387
mov dword [r14], 4
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14003a551
mov rax, qword [rcx]
lea rdx, [rbp + 0xd0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14003a551
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14003a3ce
mov rax, qword [rcx]
lea rdx, [rbp + 0xd0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rdi + 0x48]
lea rdx, str.Connection
call fcn.140031890
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 0x14003a3f6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14002c630
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r8, 5
jne 0x14003a439
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003a495
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14003a446
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp r8, 8
jne 0x14003a524
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003a524
lea rcx, [rdi + 0x28]
cmp qword [rdi + 0x40], 0xf
jbe 0x14003a477
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x38]
cmp r8, 0x16
jne 0x14003a495
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003a524
lea rcx, [rsp + 0x30]
call fcn.14002b140
lea rbx, [r15 + 0x60]
mov qword [rsp + 0x70], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14003a4c1
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 0x14003a4dc
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 0x14003a501
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14003a519
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 0x14003a52e
lea rcx, [rsp + 0x30]
call fcn.14002b140
mov rcx, qword [r15 + 0x408]
test rcx, rcx
je 0x14003a546
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14003a553
mov dword [r14], 4
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14010ee40
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret