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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x228]
sub rsp, 0x310
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movups xmm0, xmmword [0x140052d30]
mov ebx, dword [0x14005b018]
mov esi, 4
mov qword [r11 + 0x10], r14
mov rdi, rcx
movups xmmword [rbp + 0x190], xmm0
psrldq xmm0, 0xf
lea r14d, [rsi + 0x1b]
movd eax, xmm0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
test al, al
je 0x140041eaa
xor r8d, r8d
cmp ebx, 2
jl 0x140041e6c
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rbp + 0x194]
movdqa xmm5, xmmword [0x140053080]
xor edx, edx
movdqa xmm4, xmmword [0x140053390]
movdqa xmm7, xmmword [0x1400530b0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [r11 - 0x48], xmm8
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400530f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400530f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140041d60
movaps xmm8, xmmword [rsp + 0x2e0]
jmp 0x140041eaa
lea r9, [rbp + 0x190]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140041e80
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp byte [0x140052d25], 0
movsd xmm0, qword [str.wO_IKJ_o__E]
mov qword [rdi + 0x19], rax
mov eax, dword [0x140052d20]
mov dword [rbp + 0x198], eax
movzx eax, word [0x140052d24]
mov word [rbp + 0x19c], ax
movsd qword [rbp + 0x190], xmm0
je 0x14004206d
xor ecx, ecx
cmp ebx, 2
jl 0x14004202f
movdqa xmm2, xmmword [0x140053080]
mov ecx, 8
movdqa xmm4, xmmword [0x140053390]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400530a0]
movdqa xmm0, xmm2
mov eax, dword [str.8888888888888888]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400530b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400530f0]
movd xmm1, dword [str.wO_IKJ_o__E]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp + 0x190], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400530b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400530f0]
movd xmm1, dword [rbp + 0x194]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp + 0x194], xmm2
mov eax, ecx
lea r8, [rbp + 0x190]
add r8, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140042040
mov edx, dword [rsp + 0x40]
xor esi, esi
lea ecx, [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
movaps xmm7, xmmword [rsp + 0x2f0]
mov rbx, rax
movaps xmm6, xmmword [rsp + 0x300]
mov r14, qword [rsp + 0x338]
cmp rax, 0xffffffffffffffff
je 0x1400420ee
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400420ee
nop word [rax + rax]
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400420e9
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400420c0
jmp 0x1400420ee
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x19]
lea rdx, [rsi + 0x366a110]
xorps xmm0, xmm0
mov qword [rdi + 0x21], rsi
mov r9d, 8
mov qword [rsp + 0x20], 0
lea r8, [rbp + 0x190]
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x190]
lea r8, [rbp + 0x1a0]
mov rcx, qword [rdi + 0x19]
mov r9d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov rax, qword [rbp + 0x1b8]
cmp qword [rdi + 0x21], 0
mov qword [rdi + 0x41], rax
setne al
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140049610
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret