Function at 0x140051870
Capabilities:
Encode data using xor
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14044a080]
xor rax, rsp
mov qword [rbp + 0x180], rax
movups xmm3, xmmword [str.gU___QWTKR32B]
xor edi, edi
mov ebx, dword [reloc.WS2_32.dll_accept]
movdqa xmm7, xmmword [0x1404350d0]
mov rsi, rcx
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
movups xmmword [rbp + 0x170], xmm3
test al, al
je 0x140051ada
mov r8d, edi
cmp ebx, 2
jl 0x140051a9f
movdqa xmm4, xmmword [0x1404355d0]
movdqa xmm2, xmmword [0x140434ff0]
movdqa xmm5, xmmword [str.::::]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm6, xmmword [str.3333333333333333]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x140435020]
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
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp + 0x170], xmm2
movdqa xmm2, xmmword [0x140435010]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
pmuldq xmm1, xmm4
movd xmm0, dword [rbp + 0x174]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp + 0x174], xmm2
movdqa xmm2, xmmword [0x140435040]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp + 0x178]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp + 0x178], xmm3
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
movd xmm0, dword [rbp + 0x17c]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp + 0x17c], xmm2
jmp 0x140051ada
lea r9, [rbp + 0x170]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140051ab0
xor edx, edx
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_FindWindowA]
movups xmm6, xmmword [str.gU___QWTKR32B]
mov qword [rsi + 0x41], rax
movdqa xmm0, xmm6
psrldq xmm0, 0xf
movd eax, xmm0
movups xmmword [rbp + 0x170], xmm6
test al, al
je 0x140051d1a
mov r8d, edi
cmp ebx, 2
jl 0x140051ce0
movdqa xmm4, xmmword [0x1404355d0]
movdqa xmm3, xmmword [0x140434ff0]
movdqa xmm2, xmmword [0x140435010]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm5, xmmword [str.::::]
mov ecx, dword [str.3333333333333333]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
pmuldq xmm1, xmm4
andps xmm3, xmm7
movd xmm0, ecx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp + 0x170], xmm3
movdqa xmm3, xmmword [0x140435020]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x174]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x174], xmm2
movdqa xmm2, xmmword [0x140435040]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x178]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp + 0x178], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x17c]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x17c], xmm2
jmp 0x140051d1a
lea r9, [rbp + 0x170]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140051cf0
xor edx, edx
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp byte [0x1404345bd], dil
movsd xmm0, qword [str.BPD_YMYS]
mov edx, dword [0x1404345b8]
mov qword [rsi + 0x19], rax
movzx eax, word [0x1404345bc]
mov word [rbp + 0x17c], ax
movsd qword [rbp + 0x170], xmm0
mov dword [rbp + 0x178], edx
je 0x140051f2f
mov ecx, edi
cmp ebx, 2
jl 0x140051ee7
movdqa xmm3, xmmword [0x140434ff0]
mov ecx, listen
movdqa xmm4, xmmword [0x1404355d0]
movdqa xmm1, xmm3
movdqa xmm2, xmmword [0x140435010]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm5, xmmword [str.::::]
mov eax, dword [str.3333333333333333]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm7
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.BPD_YMYS]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp + 0x170], xmm3
movdqa xmm3, xmmword [0x140435020]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x174]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x174], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp + 0x178], xmm3
mov eax, ecx
lea r8, [rbp + 0x170]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140051f00
mov edx, dword [rsp + 0x20]
mov ecx, Ordinal_26
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140051f90
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140051f90
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140051f8b
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140051f61
jmp 0x140051f90
mov rdi, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
mov qword [rsi + 0x21], rdi
setne al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400faec0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret