Function at 0x140020c90
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 [0x140204480]
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.140020080
test al, al
je 0x14002119d
mov r9, rdi
mov r8, rsi
mov rdx, rbx
call fcn.14001d9a0
test al, al
je 0x140021196
lea rdx, [rdi + 0x48]
mov rcx, rbx
call fcn.140018970
test al, al
je 0x140021196
mov r13d, dword [rdi + 0x20]
cmp r13d, 0xcc
je 0x14002101b
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
mov r12, qword [rsi + 0x18]
cmp r12, 0xf
jbe 0x140020d48
mov rcx, qword [rsi]
cmp rbx, 4
jne 0x140020d65
mov r8, rbx
lea rdx, str.HEAD
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002101b
mov rcx, rsi
cmp r12, 0xf
jbe 0x140020d71
mov rcx, qword [rsi]
cmp rbx, 7
jne 0x140020d8e
mov r8, rbx
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002101b
lea eax, reloc.WLDAP32.dll_Ordinal_301
cmp eax, 0x62
ja 0x140020da8
cmp byte [r15 + 0x241], 0
je 0x140020da8
mov al, 1
jmp 0x140020daa
xor al, al
mov byte [rbp + 0xf0], al
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x140020dd9
test al, al
jne 0x140020dd9
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140020dd9
mov dword [r14], 7
jmp 0x14002119d
cmp qword [rsi + 0x1f8], 0
je 0x140020e14
lea rax, [0x1401d35f8]
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 0x140020e34
lea rax, [0x1401d34a8]
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.1400e4b30
nop
test bl, 2
je 0x140020e70
and ebx, 0xfffffffd
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140020e70
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp + 0x38], r12
test bl, 1
je 0x140020e8e
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140020e8e
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
movzx ebx, byte [r15 + 0x291]
mov qword [rbp + 0x78], r12
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x40]
call fcn.1400e4b30
lea rax, [rbp + 0x40]
mov qword [rbp - 0x10], rax
lea rax, [0x1401d3880]
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.1400e4b30
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.1400f3ab0
movzx ebx, al
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140020faa
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 0x140020fc3
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test bl, bl
jne 0x140020ffc
cmp dword [r14], 7
je 0x140020fd4
mov dword [r14], 4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14002119d
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x14002119d
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14002101b
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rcx, [rdi + 0x48]
lea rdx, str.Connection
call fcn.1400186a0
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 0x140021043
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r8, 5
jne 0x140021086
lea rdx, str.close
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400210e1
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140021097
mov rcx, qword [rdi]
cmp r8, 8
jne 0x140021170
lea rdx, str.HTTP_1.0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140021170
lea rcx, [rdi + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400210c7
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x1400210e1
lea rdx, str.Connection_established
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140021170
lea rcx, [rsp + 0x30]
call fcn.140008300
lea rbx, [r15 + 0x60]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14002110d
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 0x140021128
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 + Ordinal_26]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14002114d
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140021165
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 0x14002117a
lea rcx, [rsp + 0x30]
call fcn.140008300
mov rcx, qword [r15 + 0x408]
test rcx, rcx
je 0x140021192
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14002119f
mov dword [r14], 4
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140183920
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret