Function at 0x140002400
Capabilities:
Connect socket
Get client handle via schannel
Get outbound credentials handle via credssp
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov rdi, qword [0x14000b6e8]
mov rbx, qword [0x14000b6f0]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x70], rax
xor r12d, r12d
mov dword [rsp + 0x78], r12d
mov rcx, rbx
cmp byte [rax + 0x19], r12b
jne 0x14000248a
nop dword [rax]
mov qword [rsp + 0x70], rax
cmp qword [rax + 0x20], rdi
jae 0x140002476
mov dword [rsp + 0x78], r12d
mov rax, qword [rax + 0x10]
jmp 0x140002484
mov dword [rsp + 0x78], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x140002460
cmp byte [rcx + 0x19], r12b
jne 0x140002496
cmp rdi, qword [rcx + 0x20]
jae 0x1400024f8
movabs rax, 0x666666666666666
cmp qword [0x14000b6f8], rax
je 0x1400027dc
lea r14, [0x14000b6f0]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov ecx, 0x28
call fcn.140003630
nop
mov qword [rax + 0x20], rdi
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140003360
mov bl, 1
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x140002797
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140002538
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
sete bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x70], 4
mov dword [rbp - 0x28], 0x400030
mov dword [rbp - 0x38], 0xc00
lea r15, [rdi + 8]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
jne 0x14000278e
test bl, bl
je 0x14000278e
xor ebx, ebx
mov r14d, ebx
lea r13, [rdi + 0x18]
lea r12, [rdi + 0x4248]
mov ecx, 0x8819c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0xc], xmm0
mov qword [rbp + 4], rax
mov dword [rbp + 0xc], eax
mov dword [rbp - 0xc], 2
mov qword [rbp - 8], r12
mov eax, dword [rdi + 0x423c]
mov dword [rbp - 0x10], eax
mov dword [rbp + 4], ebx
mov dword [rbp - 0x20], ebx
xor eax, eax
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x1c], 2
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x74], 2
lea rax, [rbp - 0x10]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], 1
lea rax, [rbp - 0x20]
mov qword [rsp + 0x68], rax
mov r9d, 0x819c
cmp byte [0x14000b6e0], 0
cmovne r9d, ecx
mov dword [rbp - 0x78], r9d
mov rcx, rbx
test r14, r14
cmove rcx, r13
lea rax, [rsp + 0x70]
cmove rax, rbx
lea r8, str.www.nalove.net
cmovne r8, rbx
mov qword [rsp + 0x58], rbx
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov rdx, r14
mov rcx, r15
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov r14, r13
cmp dword [rbp + 4], 5
jne 0x1400026be
mov ebx, dword [rbp]
mov r8d, ebx
movsxd rdx, dword [rdi + 0x423c]
sub rdx, rbx
add rdx, 0x4248
add rdx, rdi
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov dword [rdi + 0x423c], ebx
test esi, esi
je 0x1400027c6
cmp esi, 0x90320
je 0x14000276a
cmp esi, 0x90312
jne 0x140002722
mov rsi, qword [rbp - 0x18]
mov ebx, dword [rbp - 0x20]
test ebx, ebx
je 0x140002715
nop dword [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x140002711
sub ebx, eax
cdqe
add rsi, rax
test ebx, ebx
jne 0x1400026f0
mov rsi, qword [rbp - 0x18]
mov rcx, rsi
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
test ebx, ebx
jmp 0x140002728
cmp esi, 0x80090318
jne 0x14000277c
movsxd rax, dword [rdi + 0x423c]
cmp eax, 0x4200
je 0x14000277c
mov r8d, 0x4200
sub r8d, eax
lea rdx, [rax + 0x4248]
add rdx, rdi
xor r9d, r9d
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400027d8
js 0x14000277c
mov dword [rdi + 0x423c], eax
xor ebx, ebx
jmp 0x1400025bb
mov rcx, r13
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rcx, r15
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov rcx, r13
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rcx, r15
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140003610
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rdi + 0x28]
mov edx, 4
mov rcx, r13
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov al, 1
jmp 0x140002799
call fcn.1400035e0
int3