Function at 0x5000c7a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov dword [rsp + 0x50], 0x90312
mov edx, 0x11000
lea rcx, [rsp + 0xa8]
call fcn.50007610
mov edx, 0x64
lea rcx, [rsp + 0x78]
call fcn.50007680
mov edx, 0x64
lea rcx, [rsp + 0x60]
call fcn.50007680
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x50], 0x90312
je 0x5000c80f
cmp dword [rsp + 0x50], 0x80090318
je 0x5000c80f
cmp dword [rsp + 0x50], 0x90320
je 0x5000c80f
jmp 0x5000cf58
mov dword [rsp + 0x88], 0xc11c
mov eax, dword [rsp + 0x88]
bts eax, 0x13
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x4d0]
mov qword [rsp + 0x1f8], rax
xor r9d, r9d
mov r8d, 0x10000
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f8]
call sub.WS2_32.dll_recv
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x5000c89e
cmp dword [rsp + 0x58], 0xffffffff
jne 0x5000c906
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.50002860
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.50002860
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.50002860
mov eax, dword [rsp + 0x90]
jmp 0x5000cfbb
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov edx, dword [rsp + 0x5c]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax + 8], rdx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x100], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x100]
mov dword [rcx + rax + 4], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x108], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x108]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x110], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x110]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x468], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x470], rcx
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x46c], 2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x120], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x120]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x128], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x128]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x130], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x138], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x138]
mov dword [rcx + rax + 4], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x140], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x140]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x148], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x47c], 2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x150]
mov qword [rax + 0x480], rcx
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x478], 0
mov dword [rsp + 0x94], 0
mov rax, qword [rsp + 0x220]
add rax, 0x478
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x488]
test eax, eax
je 0x5000cbd4
mov qword [rsp + 0xc0], 0
jmp 0x5000cbe8
mov rax, qword [rsp + 0x220]
add rax, 0x70
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x220]
add rax, 0x468
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x488]
test eax, eax
je 0x5000cc27
mov rax, qword [rsp + 0x220]
add rax, 0x70
mov qword [rsp + 0xc8], rax
jmp 0x5000cc33
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x220]
add rax, 0x60
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x94]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9d, 0x100
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x220]
mov byte [rax + 0x488], 1
cmp dword [rsp + 0x50], 0x80090318
jne 0x5000ccb8
jmp 0x5000c7ec
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x50], 0
jge 0x5000cd2f
mov dword [rsp + 0x98], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.50002860
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.50002860
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.50002860
mov eax, dword [rsp + 0x98]
jmp 0x5000cfbb
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x488]
test eax, eax
jne 0x5000cdb4
cmp dword [rsp + 0x50], 0x90312
je 0x5000cdb4
mov dword [rsp + 0x9c], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.50002860
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.50002860
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.50002860
mov eax, dword [rsp + 0x9c]
jmp 0x5000cfbb
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1d0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1d0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1a0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x8c]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x1a8]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x220]
mov rcx, qword [rax + 0x4d0]
call sub.WS2_32.dll_send
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x5000ce60
cmp dword [rsp + 0x70], 0xffffffff
jne 0x5000ce6a
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
jmp 0x5000ce96
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x54], eax
jne 0x5000ce91
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
jmp 0x5000ce96
jmp 0x5000ce0f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1b0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
mov rcx, qword [rcx + rax + 8]
call sub.Secur32.dll_FreeContextBuffer
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1b8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b8]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x58], eax
je 0x5000cf4a
mov dword [rsp + 0xa0], 0xffffffff
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.50002860
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1c8]
call fcn.50002860
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x200]
call fcn.50002860
mov eax, dword [rsp + 0xa0]
jmp 0x5000cfbb
cmp dword [rsp + 0x50], 0
jne 0x5000cf53
jmp 0x5000cf58
jmp 0x5000c7ec
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1d8]
call fcn.50002860
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.50002860
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x1e8]
call fcn.50002860
mov eax, dword [rsp + 0xa4]
add rsp, 0x218
ret