Function at 0x140001260
Capabilities:
Enumerate processes
Get session user name
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x14001a008]
xor rax, rsp
mov qword [rbp + 0x290], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001640
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x101
lea rcx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140001640
lea rdx, [0x14001a078]
lea rcx, [rbp + 0x180]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001640
lea rdx, [0x14001a064]
lea rcx, [rbp + 0x180]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001640
lea rdx, [0x14001a040]
lea rcx, [rbp + 0x180]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001640
lea rdx, [0x14001a070]
lea rcx, [rbp + 0x180]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001640
lea rdx, [0x14001a080]
lea rcx, [rbp + 0x180]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140001640
xor eax, eax
mov dword [rbp + 0x170], 0x3d30231a
xor r10d, r10d
mov dword [rbp + 0x174], 0x36212618
mov word [rbp + 0x178], 0x122d
lea rcx, [rbp + 0x171]
mov byte [rbp + 0x17a], 0
lea r11, [0x14001a060]
nop word [rax + rax]
movzx edx, byte [rcx - 1]
xor r8d, r8d
cmp eax, 2
cmovne r8d, eax
test dl, dl
je 0x140001399
movsxd rax, r8d
xor dl, byte [rax + r11]
xor r9d, r9d
mov byte [rcx - 1], dl
movzx edx, byte [rcx]
lea eax, [r8 + 1]
cmp r8d, 1
cmovne r9d, eax
test dl, dl
je 0x1400013b9
movsxd rax, r9d
xor dl, byte [rax + r11]
xor r8d, r8d
mov byte [rcx], dl
movzx edx, byte [rcx + 1]
lea eax, [r9 + 1]
cmp r9d, 1
cmovne r8d, eax
test dl, dl
je 0x1400013d9
movsxd rax, r8d
xor dl, byte [rax + r11]
xor r9d, r9d
mov byte [rcx + 1], dl
movzx edx, byte [rcx + 2]
lea eax, [r8 + 1]
cmp r8d, 1
cmovne r9d, eax
test dl, dl
je 0x1400013fa
movsxd rax, r9d
xor dl, byte [rax + r11]
xor r8d, r8d
mov byte [rcx + 2], dl
movzx edx, byte [rcx + 3]
lea eax, [r9 + 1]
cmp r9d, 1
cmovne r8d, eax
test dl, dl
je 0x14000141b
movsxd rax, r8d
xor dl, byte [rax + r11]
xor r9d, r9d
mov byte [rcx + 3], dl
movzx edx, byte [rcx + 4]
lea eax, [r8 + 1]
cmp r8d, 1
cmovne r9d, eax
test dl, dl
je 0x14000143c
movsxd rax, r9d
xor dl, byte [rax + r11]
xor r8d, r8d
mov byte [rcx + 4], dl
movzx edx, byte [rcx + 5]
lea eax, [r9 + 1]
cmp r9d, 1
cmovne r8d, eax
test dl, dl
je 0x14000145d
movsxd rax, r8d
xor dl, byte [rax + r11]
xor r9d, r9d
mov byte [rcx + 5], dl
movzx edx, byte [rcx + 6]
lea eax, [r8 + 1]
cmp r8d, 1
cmovne r9d, eax
test dl, dl
je 0x14000147e
movsxd rax, r9d
xor dl, byte [rax + r11]
xor r8d, r8d
mov byte [rcx + 6], dl
movzx edx, byte [rcx + 7]
lea eax, [r9 + 1]
cmp r9d, 1
cmovne r8d, eax
test dl, dl
je 0x14000149f
movsxd rax, r8d
xor dl, byte [rax + r11]
xor r9d, r9d
mov byte [rcx + 7], dl
movzx edx, byte [rcx + 8]
lea eax, [r8 + 1]
cmp r8d, 1
cmovne r9d, eax
test dl, dl
je 0x1400014c0
movsxd rax, r9d
xor dl, byte [rax + r11]
xor r8d, r8d
mov byte [rcx + 8], dl
movzx edx, byte [rcx + 9]
lea eax, [r9 + 1]
cmp r9d, 1
cmovne r8d, eax
test dl, dl
je 0x1400014e1
movsxd rax, r8d
xor dl, byte [rax + r11]
mov byte [rcx + 9], dl
lea eax, [r8 + 1]
add rcx, 0xb
add r10d, 0xb
cmp r10d, 0xb
jb 0x140001380
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x14001a048]
xor edx, edx
mov ecx, 0x100000
mov qword [0x14001a6f0], rax
call rax
movsxd rcx, eax
test eax, eax
je 0x140001640
mov qword [rsp + 0x3c0], rdi
mov qword [rsp + 0x3b0], rbx
mov qword [rsp + 0x3b8], rsi
mov qword [rsp + 0x3c8], r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001637
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rcx, rdi
test eax, eax
jne 0x1400015a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400015fd
lea r14, [0x14001a6c0]
lea rsi, [0x14001a6f0]
mov rbx, r14
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001637
add rbx, 8
cmp rbx, rsi
jl 0x1400015d0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400015c0
mov rbx, qword [rsp + 0x3b0]
xor eax, eax
mov rsi, qword [rsp + 0x3b8]
mov r14, qword [rsp + 0x3c8]
mov rdi, qword [rsp + 0x3c0]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140003690
add rsp, 0x3a0
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
jmp 0x14000161f