Function at 0x14004ef70
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 [0x1400a8010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r13, r9
mov rbx, r8
mov r12, rdx
mov qword [rsp + 0x30], rcx
mov r15, qword [rbp + 0x128]
mov dword [rbp + 0x54], 0
mov qword [rsp + 0x20], r15
movzx r9d, byte [rbp + 0x120]
call fcn.14004d3b0
test al, al
je 0x14004f413
mov r9, r13
mov r8, rbx
mov rdx, r12
call fcn.14004ab40
test al, al
je 0x14004f40c
lea rdx, [r13 + 0x48]
mov rcx, r12
call fcn.14003cc80
test al, al
je 0x14004f40c
mov edi, dword [r13 + 0x20]
cmp edi, 0xcc
je 0x14004f3eb
mov rdx, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 0x10
jb 0x14004f01d
mov rdx, qword [rbx]
mov r9, qword [rbx + 0x10]
cmp r9, 4
jne 0x14004f055
xor ecx, ecx
lea r10, str.HEAD
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x14004f048
cmp rcx, 4
jne 0x14004f030
xor eax, eax
jmp 0x14004f04d
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004f3eb
mov rcx, rbx
cmp r8, 0x10
jb 0x14004f061
mov rcx, qword [rbx]
cmp r9, 7
jne 0x14004f07e
mov r8, r9
lea rdx, str.CONNECT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004f3eb
lea eax, [rdi - 0x12d]
cmp eax, 0x62
ja 0x14004f09b
mov rax, qword [rsp + 0x30]
cmp byte [rax + 0x239], 0
je 0x14004f09b
mov al, 1
jmp 0x14004f09d
xor al, al
mov byte [rbp + 0x50], al
mov rcx, qword [rbx + 0x220]
test rcx, rcx
je 0x14004f0c9
test al, al
jne 0x14004f0c9
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14004f0c9
mov dword [r15], 7
jmp 0x14004f413
cmp qword [rbx + 0x260], 0
je 0x14004f11c
lea rax, [rbp + 0x50]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], r15
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_8c88a3df46b01d71d8ef5c0ff51bab49___bool__char_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x28], xmm1
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea rsi, [rbp - 0x40]
mov edi, 1
lea r14, [rbp - 8]
mov rcx, qword [rsp + 0x78]
jmp 0x14004f146
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_4c84074cd69ef7a113fa1311e3ab4a77___bool__char_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], rcx
lea rsi, [rsp + 0x40]
mov edi, 2
lea r14, [rsp + 0x78]
xor r8d, r8d
mov qword [rbp + 0x98], r8
mov r9, qword [rsi + 0x38]
test r9, r9
je 0x14004f1a1
cmp r9, rsi
jne 0x14004f256
mov rax, qword [r9]
lea rdx, [rbp + 0x60]
mov rcx, r9
call qword [rax + ioctlsocket]
mov r8, rax
mov qword [rbp + 0x98], rax
mov rcx, qword [r14]
test rcx, rcx
je 0x14004f19c
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], 0
mov r8, qword [rbp + 0x98]
mov rcx, qword [rsp + 0x78]
xor esi, esi
test dil, 2
je 0x14004f1ce
and edi, 0xfffffffd
test rcx, rcx
je 0x14004f1ce
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x78], rsi
mov r8, qword [rbp + 0x98]
test dil, 1
je 0x14004f1f4
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14004f1f4
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp + 0x98]
mov qword [rbp - 0x80], rbx
lea rax, [rbp + 0x50]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r15
mov rcx, rsi
mov qword [rsp + 0x78], rcx
test r8, r8
je 0x14004f27b
lea rax, [rbp + 0x60]
mov rcx, r8
cmp r8, rax
jne 0x14004f26f
mov rax, qword [r8]
lea rdx, [rsp + 0x40]
call qword [rax + ioctlsocket]
mov rcx, rax
mov qword [rsp + 0x78], rax
mov r8, qword [rbp + 0x98]
test r8, r8
je 0x14004f27b
mov rax, qword [r8]
lea rcx, [rbp + 0x60]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
jmp 0x14004f274
mov r8, r9
mov qword [rbp + 0x98], r9
xor esi, esi
mov qword [r14], rsi
mov rcx, qword [rsp + 0x78]
jmp 0x14004f1a3
mov qword [rsp + 0x78], rcx
mov qword [rbp + 0x98], rsi
lea rax, [rsp + 0x40]
mov qword [rbp], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_f0a65666dc9b03b1b99cc705250459b7___bool__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x28], xmm1
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
mov rax, qword [rsp + 0x30]
movzx edi, byte [rax + 0x289]
mov qword [rbp + 0x58], 0xffffffffffffffff
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r12
lea rax, [rbp + 0x58]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x54]
mov qword [rbp - 0x60], rax
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp + 0x40], xmm0
mov qword [rbp - 0x48], rsi
test rcx, rcx
je 0x14004f346
lea rax, [rsp + 0x40]
cmp rcx, rax
jne 0x14004f33d
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax + ioctlsocket]
mov qword [rbp - 0x48], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004f346
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14004f341
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x78], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, dil
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x54]
mov rcx, r13
call fcn.140078690
movzx edi, al
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14004f384
mov r8, qword [rcx]
lea rax, [rbp - 0x40]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp - 8], rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004f39f
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test dil, dil
jne 0x14004f3cf
cmp dword [r15], 7
je 0x14004f3b1
mov dword [r15], 4
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14004f413
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14004f413
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14004f3eb
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x14004f408
mov rax, qword [rcx]
mov r8, r13
mov rdx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14004f415
mov dword [r15], 4
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140083df0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret