Function at 0x5000cfd0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov edx, 0x64
lea rcx, [rsp + 0x60]
call fcn.50007680
mov dword [rsp + 0x74], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x74]
mov qword [rcx + rax + 8], rdx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + rax], 4
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x47c], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x480], rcx
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x478], 0
mov rax, qword [rsp + 0x130]
add rax, 0x478
mov rcx, qword [rsp + 0x130]
add rcx, 0x70
mov rdx, rax
call qword [sym.imp.Secur32.dll_ApplyControlToken]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x5000d107
mov dword [rsp + 0x78], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.50002860
mov eax, dword [rsp + 0x78]
jmp 0x5000d3d9
mov dword [rsp + 0x7c], 0xc11c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x47c], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x480], rcx
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x478], 0
mov rax, qword [rsp + 0x130]
add rax, 0x478
mov rcx, qword [rsp + 0x130]
add rcx, 0x70
mov rdx, qword [rsp + 0x130]
add rdx, 0x60
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x98]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, dword [rsp + 0x7c]
xor r8d, r8d
mov rdx, rcx
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x5000d27b
mov dword [rsp + 0x80], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.50002860
mov eax, dword [rsp + 0x80]
jmp 0x5000d3d9
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x100], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x90], 0
je 0x5000d3a6
cmp dword [rsp + 0x5c], 0
je 0x5000d3a6
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x90]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x4d0]
call sub.WS2_32.dll_send
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x5000d33b
cmp dword [rsp + 0x58], 0xffffffff
jne 0x5000d345
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x70], eax
jmp 0x5000d36b
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x50], eax
jne 0x5000d369
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x70], eax
jmp 0x5000d36b
jmp 0x5000d2ed
mov rcx, qword [rsp + 0x90]
call sub.Secur32.dll_FreeContextBuffer
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.50002860
mov eax, dword [rsp + 0x84]
jmp 0x5000d3d9
jmp 0x5000d3ad
mov dword [rsp + 0x88], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.50002860
mov eax, dword [rsp + 0x88]
add rsp, 0x128
ret