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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov dword [rsp + 0xe0], 0x8c11c
mov dword [rsp + 0x68], 0x90312
mov edx, 0x11000
lea rcx, [rsp + 0xb8]
call fcn.50007610
mov edx, 0x64
lea rcx, [rsp + 0x90]
call fcn.50007680
mov edx, 0x64
lea rcx, [rsp + 0x78]
call fcn.50007680
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x208], 0
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0x68], 0x90312
je 0x500077f9
cmp dword [rsp + 0x68], 0x80090318
je 0x500077f9
cmp dword [rsp + 0x68], 0x90320
je 0x500077f9
jmp 0x50008275
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
jne 0x500078cf
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x288], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x288]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x78]
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 + 0x78]
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 + 0x2c0]
mov dword [rax + 0x478], 0
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x47c], 1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x138]
mov qword [rax + 0x480], rcx
jmp 0x50007e14
mov rax, qword [rsp + 0x2c0]
cmp dword [rax + 0x4a0], 0
je 0x5000798b
mov rax, qword [rsp + 0x2c0]
movsxd rax, dword [rax + 0x4a0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x490]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.50005ea0
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x4a0]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x4a0], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x74], 0x10000
mov dword [rsp + 0x280], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
cmp dword [rsp + 0x60], eax
jge 0x50007bf5
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xb0]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x74]
add eax, 5
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rax + 0x4d0]
call sub.WS2_32.dll_recv
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jg 0x50007aca
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.50002860
mov eax, dword [rsp + 0xd0]
jmp 0x500082db
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
jae 0x50007bcb
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0x14
jl 0x50007b12
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0x18
jle 0x50007b7d
mov dword [rsp + 0xd4], 0xfffffffe
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.50002860
mov eax, dword [rsp + 0xd4]
jmp 0x500082db
mov eax, dword [rsp + 0x64]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, dword [rsp + 0x64]
add ecx, 4
mov ecx, ecx
mov rdx, qword [rsp + 0xb0]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0xd8]
lea eax, [rax + rcx + 5]
mov dword [rsp + 0x64], eax
jmp 0x50007ada
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x70], eax
jne 0x50007bd7
jmp 0x50007bf5
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x50007bf0
jmp 0x50007bf5
jmp 0x500079d1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x190], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x190]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x198], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
mov edx, dword [rsp + 0x60]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1a0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x118]
mov qword [rcx + rax + 8], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1a8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x1a8]
mov dword [rcx + rax + 4], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1b0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1b8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b8]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x468], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x1c0]
mov qword [rax + 0x470], rcx
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x46c], 2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1c8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c8]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1d0], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1d0]
mov dword [rcx + rax + 4], 2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1d8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x1d8]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x47c], 1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x1e0]
mov qword [rax + 0x480], rcx
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x478], 0
mov dword [rsp + 0xdc], 0
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x2c0]
add rax, 0x478
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
je 0x50007e66
mov qword [rsp + 0x120], 0
jmp 0x50007e7a
mov rax, qword [rsp + 0x2c0]
add rax, 0x70
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
je 0x50007ea5
mov rax, qword [rsp + 0x2c0]
add rax, 0x468
mov qword [rsp + 0xf8], rax
jmp 0x50007eb1
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x2c0]
add rax, 0x80
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
je 0x50007ef0
mov rax, qword [rsp + 0x2c0]
add rax, 0x70
mov qword [rsp + 0x100], rax
jmp 0x50007efc
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x2c0]
add rax, 0x60
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0xdc]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x1e8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xe0]
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x100]
mov rcx, rax
call sub.Secur32.dll_InitializeSecurityContextA
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x80090318
jne 0x50007f90
jmp 0x500077cb
cmp dword [rsp + 0x68], 0
jge 0x50008002
mov dword [rsp + 0xe4], 0xffffffff
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1f8], rax
mov rcx, qword [rsp + 0x1f8]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x200]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x258]
call fcn.50002860
mov eax, dword [rsp + 0xe4]
jmp 0x500082db
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
jne 0x5000808a
cmp dword [rsp + 0x68], 0x90312
je 0x5000808a
mov dword [rsp + 0xe8], 0xffffffff
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x218]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x220], rax
mov rcx, qword [rsp + 0x220]
call fcn.50002860
mov eax, dword [rsp + 0xe8]
jmp 0x500082db
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x228], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x228]
mov eax, dword [rcx + rax]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x230], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x230]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0xa4]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x238]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rax + 0x4d0]
call sub.WS2_32.dll_send
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x50008147
cmp dword [rsp + 0x88], 0xffffffff
jne 0x50008154
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xa8], eax
jmp 0x50008186
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0x6c], eax
jne 0x50008181
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xa8], eax
jmp 0x50008186
jmp 0x500080ed
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x240], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x240]
mov rcx, qword [rcx + rax + 8]
call sub.Secur32.dll_FreeContextBuffer
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x248], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x248]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0xa8], eax
je 0x50008243
mov dword [rsp + 0xec], 0xffffffff
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x250], rax
mov rcx, qword [rsp + 0x250]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x290]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x260]
call fcn.50002860
mov eax, dword [rsp + 0xec]
jmp 0x500082db
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x488]
test eax, eax
jne 0x50008267
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x488], 1
jmp 0x50008270
cmp dword [rsp + 0x68], 0
jne 0x50008270
jmp 0x50008275
jmp 0x500077cb
mov dword [rsp + 0xf0], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x268]
call fcn.50002860
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x270], rax
mov rcx, qword [rsp + 0x270]
call fcn.50002860
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x278]
call fcn.50002860
mov eax, dword [rsp + 0xf0]
add rsp, 0x2b8
ret