Function at 0x140031c70
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push rbp
push rsi
push r13
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor esi, esi
mov r15, rdx
mov qword [rsp + 0x40], rsi
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
lea edx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140032023
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9d, [rsi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x4c]
mov dword [rsp + 0x48], 4
lea edx, [rsi + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x14003201d
mov qword [rsp + 0x218], rbx
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x228], r12
mov qword [rsp + 0x1e0], r14
movaps xmmword [rsp + 0x1d0], xmm6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsd xmm6, qword [0x1400398f0]
movabs r12, 0x311cdad160000
nop dword [rax]
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x12c
movabs r14, 0x7fffffffffffffff
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp - 0x70], 0x130
mov dword [r13 + 0x10], esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140031dd5
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140031dcc
nop dword [rax + rax]
lea r8, [rbp - 0x44]
mov rcx, r15
sub r8, r15
nop word [rax + rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140031db3
inc rcx
test eax, eax
jne 0x140031da0
mov rcx, rbx
test edx, edx
je 0x140031f10
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140031d90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rdi, rcx, 0x3b9aca00
cqo
idiv rbx
add rdi, rax
movabs rax, 0x7fffffffc46535ff
cmp rdi, rax
jge 0x140031e1d
add rdi, 0x3b9aca00
mov r14, rdi
jmp 0x140031e20
mov rdi, r14
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
cmp rbx, rdi
jge 0x140031d40
movabs rsi, 0x112e0be826d694b3
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
xorps xmm0, xmm0
mov rax, r14
sub rax, rbx
lea r8, [rcx + r12]
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
seta r9b
test r9b, r9b
jne 0x140031e90
lea r8, [rcx + rax]
add rax, rcx
lea rdx, [rcx + r12]
test r9b, r9b
lea rcx, [rsp + 0x50]
cmove rdx, rax
mov rax, rsi
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rsp + 0x50], rdx
sub r8d, eax
mov dword [rsp + 0x58], r8d
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
cmp rbx, r14
jl 0x140031e63
xor esi, esi
jmp 0x140031d40
mov eax, dword [rbp - 0x68]
mov dword [r13 + 0x10], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm6, xmmword [rsp + 0x1d0]
mov rcx, rsi
mov r14, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
mov dword [rsp + 0x50], 0x89fa8f8e
mov dword [rsp + 0x54], 0xbdb2b9bf
mov dword [rsp + 0x58], 0x100ada8
lea eax, [rcx - 0x2e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x140031f60
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rcx, [rsp + 0x50]
mov edx, 0xc0000000
mov byte [rsp + 0x5b], 0
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [r13 + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140032019
movdqa xmm0, xmmword [0x14003a050]
movdqa xmm1, xmmword [0x14003a060]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rbp - 0x80], 0xbfecf2ee
movdqu xmmword [rsp + 0x70], xmm1
mov dword [rbp - 0x7c], 0xc6c6cec3
mov dword [rbp - 0x78], 0x97969584
mov word [rbp - 0x74], 0x99
mov byte [rbp - 0x72], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rsi + 0x7c]
xor byte [rsp + rsi + 0x60], al
inc rsi
cmp rsi, 0x2d
jb 0x140031ff0
xor r9d, r9d
mov byte [rbp - 0x72], 0
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140032023
mov al, 1
jmp 0x140032025
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140032840
add rsp, 0x1e8
pop r15
pop r13
pop rsi
pop rbp
ret