Function at 0x140024b20
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate processes
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x160
mov rax, qword [0x1400a01c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov qword [rsp + 0x170], rbp
mov rbp, rcx
lea ecx, [rdx + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov r14, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140024d45
mov qword [rsp + 0x178], rsi
lea rax, [rsp + 0x4c]
mov r8, rbp
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140024ba3
inc rax
test ecx, ecx
jne 0x140024b90
test edx, edx
jne 0x140024d28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140024c37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140024c37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140024c32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140024c10
cmp r8d, 0x4105fc56
je 0x140024c3c
test r9d, r9d
jne 0x140024bf0
mov rax, qword [rax]
jmp 0x140024bc0
mov ecx, dword [rbx + 0x24]
mov r8d, dword [rsp + 0x28]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r10
lea ecx, [rdx + 1]
call rax
mov rsi, rax
test rax, rax
je 0x140024d28
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140024d07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140024d07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140024d02
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140024ce0
cmp r8d, 0xfaba0065
je 0x140024d0c
test r9d, r9d
jne 0x140024cc0
mov rcx, qword [rcx]
jmp 0x140024c90
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
lea rdx, [rsp + 0x20]
mov rcx, r14
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140024b82
mov rsi, qword [rsp + 0x178]
mov rax, qword gs:[0x60]
mov rbp, qword [rsp + 0x170]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140024dd7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140024dd7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024dd2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140024db0
cmp r8d, 0xfaba0065
je 0x140024ddc
test r9d, r9d
jne 0x140024d90
mov rax, qword [rax]
jmp 0x140024d60
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r14
add rax, r10
call rax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007d8f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret