Function at 0x1801d99c0
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 - 0x168]
sub rsp, 0x268
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov r12, rcx
mov r15, qword [rbp + 0x1d8]
xor ebx, ebx
mov dword [rbp + 0x104], ebx
mov qword [rsp + 0x20], r15
movzx r9d, byte [rbp + 0x1d0]
call fcn.1801dd350
test al, al
je 0x1801da026
mov r9, rdi
mov r8, r14
mov rdx, rsi
mov rcx, r12
call fcn.1801db130
test al, al
je 0x1801da01f
lea rdx, [rdi + 0x48]
mov rcx, rsi
call fcn.1801dade0
test al, al
je 0x1801da01f
cmp dword [rdi + 0x20], 0xcc
je 0x1801d9de3
mov rsi, qword [r14 + 0x10]
mov rcx, r14
mov r13, qword [r14 + 0x18]
cmp r13, 0xf
jbe 0x1801d9a75
mov rcx, qword [r14]
cmp rsi, 4
jne 0x1801d9a92
mov r8, rsi
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801d9de3
mov rcx, r14
cmp r13, 0xf
jbe 0x1801d9a9e
mov rcx, qword [r14]
cmp rsi, 7
jne 0x1801d9abb
mov r8, rsi
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801d9de3
mov eax, dword [rdi + 0x20]
add eax, 0xfffffed3
cmp eax, 0x62
ja 0x1801d9ad6
cmp byte [r12 + 0x1f9], bl
je 0x1801d9ad6
mov al, 1
jmp 0x1801d9ad8
xor al, al
mov byte [rbp + 0x100], al
mov rcx, qword [r14 + 0x1b8]
test rcx, rcx
je 0x1801d9b07
test al, al
jne 0x1801d9b07
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1801d9b07
mov dword [r15], 7
jmp 0x1801da026
cmp qword [r14 + 0x1f8], rbx
je 0x1801d9b45
lea rax, [0x18022c3e0]
mov qword [rbp], rax
lea rax, [rbp + 0x100]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r15
lea rax, [rbp]
mov qword [rbp + 0x38], rax
lea rsi, [rbp]
mov ebx, 1
mov rcx, qword [rbp - 8]
jmp 0x1801d9b65
lea rax, [0x18022c418]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x40]
mov qword [rbp - 8], rcx
lea rsi, [rbp - 0x40]
mov ebx, 2
xor r13d, r13d
mov r8d, r13d
mov qword [rbp + 0x148], r13
mov r9, qword [rsi + 0x38]
test r9, r9
je 0x1801d9bca
cmp r9, rsi
jne 0x1801d9bb8
mov rax, qword [r9]
lea rdx, [rbp + 0x110]
mov rcx, r9
call qword [rax + ioctlsocket]
mov r8, rax
mov qword [rbp + 0x148], rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1801d9bc6
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp + 0x148]
jmp 0x1801d9bc2
mov r8, r9
mov qword [rbp + 0x148], r9
mov qword [rsi + 0x38], r13
mov rcx, qword [rbp - 8]
test bl, 2
je 0x1801d9bf2
and ebx, 0xfffffffd
test rcx, rcx
je 0x1801d9bf2
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 8], r13
mov r8, qword [rbp + 0x148]
test bl, 1
je 0x1801d9c1a
and ebx, 0xfffffffe
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1801d9c1a
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp + 0x148]
movzx esi, byte [r12 + 0x249]
mov qword [rbp + 0x78], r13
test r8, r8
je 0x1801d9c75
lea rax, [rbp + 0x110]
cmp r8, rax
jne 0x1801d9c6a
mov rax, qword [r8]
lea rdx, [rbp + 0x40]
mov rcx, r8
call qword [rax + ioctlsocket]
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1801d9c75
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1801d9c6e
mov qword [rbp + 0x78], r8
mov qword [rbp + 0x148], r13
lea rax, [rbp + 0x40]
mov qword [rbp + 0x80], rax
lea rax, [0x18022c450]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r14
lea rax, [rbp + 0x100]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r15
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x108], 0xffffffffffffffff
mov qword [rsp + 0x58], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x104]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xf8], r13
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1801d70b0
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0xa0], xmm1
movsd xmm0, qword [rsp + 0x78]
movsd qword [rbp + 0xb0], xmm0
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
movzx r9d, sil
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x104]
mov rcx, rdi
call fcn.1801d1200
movzx esi, al
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1801d9d71
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rbp - 0x80]
cmp rcx, rax
setne dl
call r8
mov qword [rbp - 0x48], r13
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1801d9d8a
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test sil, sil
jne 0x1801d9dc4
cmp dword [r15], 7
je 0x1801d9d9c
mov dword [r15], 4
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1801da026
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1801da026
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1801d9de3
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xa
lea rdx, str.Connection
lea rcx, [rsp + 0x58]
call fcn.180002fc0
nop
or ebx, 4
mov dword [rbp + 0x104], ebx
lea rcx, [rdi + 0x48]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.1801cfda0
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x40]
je 0x1801d9e44
add rdx, 0x40
cmp qword [rdx + 0x18], 0xf
jbe 0x1801d9e4b
mov rdx, qword [rdx]
jmp 0x1801d9e4b
lea rdx, [0x180205501]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1801d9e63
lea rcx, [rsp + 0x38]
call fcn.180002fc0
or ebx, 0x18
lea rcx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r13, qword [rsp + 0x50]
cmp r13, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x48]
cmp r8, 5
jne 0x1801d9eac
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801d9efb
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801d9ebd
mov rcx, qword [rdi]
cmp r8, 8
jne 0x1801d9f00
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801d9f00
lea rcx, [rdi + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1801d9ee5
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x1801d9efb
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801d9f00
mov r15b, 1
jmp 0x1801d9f03
xor r15b, r15b
test bl, 8
je 0x1801d9f46
and ebx, 0xfffffff7
cmp r13, 0xf
jbe 0x1801d9f46
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1801d9f3d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801d9f3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1801e41e4
nop
test bl, 4
je 0x1801d9f8b
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801d9f8b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d9f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801d9f86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801e41e4
test r15b, r15b
je 0x1801da002
lea rbx, [r12 + 0x58]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1801da05b
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1801da04b
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 0x1801d9fe0
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r12 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x1801d9ffa
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r12 + 0x50], 0xffffffffffffffff
mov rcx, rbx
call fcn.1801e3a82
mov rcx, qword [r12 + 0x330]
test rcx, rcx
je 0x1801da01b
mov rax, qword [rcx]
mov r8, rdi
mov rdx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1801da028
mov dword [r15], 4
xor al, al
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1801e4790
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3