Function at 0x7ff6fff41070
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate processes
Generate random numbers via winapi
Get token membership
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x7ff70011f780]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rsi
mov edx, 0x10
lea rcx, [rbp - 0x40]
call fcn.7ff6fff09490
mov rax, qword [rbp - 0x40]
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbp - 0x38], rcx
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
mov r8, qword [rbp - 0x40]
mov edx, 0x10
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
jne 0x7ff6fff4110e
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.7ff6fff02cb0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x7ff6fff41162
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6fff4115d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6fff417c2
call fcn.7ff70000a3cc
mov rdx, qword [0x7ff700191a68]
cmp rdx, 0xf
jbe 0x7ff6fff411a3
mov rcx, qword [0x7ff700191a50]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6fff4119e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6fff417c8
mov rcx, r8
call fcn.7ff70000a3cc
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [0x7ff700191a50], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [0x7ff700191a60], xmm1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x37c
mov eax, dword [rdx + rcx]
mov ebx, 0x380
add rbx, rcx
test al, 1
jne 0x7ff6fff41209
or eax, 1
mov dword [rdx + rcx], eax
mov word [rbx + 0xb], 0x16d
mov dword [rbx], 0x292a09a6
mov dword [rbx + 4], 0x25e83e44
mov word [rbx + 8], 0x1f82
mov byte [rbx + 0xa], 0x36
lea rcx, [0x7ff700035f90]
call fcn.7ff70000a4a8
nop
cmp byte [rbx + 0xc], 0
je 0x7ff6fff4122a
mov edx, 0xc
movabs r8, 0xb834d216d5367e7
mov rcx, rbx
call fcn.7ff6fff02b20
mov byte [rbx + 0xc], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.7ff6fff025c0
mov rbx, rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rbp - 0x20], 0x130
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Process32First]
test eax, eax
je 0x7ff6fff41291
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff6fff4126e
mov rdx, qword [rbx]
lea rcx, [rbp + 0xc]
call qword [sym.imp.kernel32.dll_lstrcmpiA]
mov rcx, rdi
test eax, eax
je 0x7ff6fff4137d
lea rdx, [rbp - 0x20]
call qword [sym.imp.kernel32.dll_Process32Next]
test eax, eax
jne 0x7ff6fff41261
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff6fff412d4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6fff412cf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6fff417ce
mov rcx, r8
call fcn.7ff70000a3cc
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff6fff41378
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff6fff41378
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
add r8, r10
mov edx, 0x60cb9881
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x7ff6fff41373
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x7ff6fff41350
cmp edx, 0xf77f83be
je 0x7ff6fff4148b
test r9d, r9d
jne 0x7ff6fff41330
mov rax, qword [rax]
jmp 0x7ff6fff41300
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [rbp - 0x18]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff6fff413c0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6fff413bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6fff417ce
mov rcx, r8
call fcn.7ff70000a3cc
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test edi, edi
je 0x7ff6fff412e3
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff6fff41464
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff6fff41464
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
add r8, r10
mov edx, 0xd1d0c792
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x7ff6fff4145f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x7ff6fff41440
cmp edx, 0xe3fb12f7
je 0x7ff6fff41469
test r9d, r9d
jne 0x7ff6fff41420
mov rax, qword [rax]
jmp 0x7ff6fff413f0
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
add rax, r10
xor ecx, ecx
call rax
jmp 0x7ff6fff412e3
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
add rax, r10
mov ecx, 0xfffffff5
call rax
mov rdi, rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff6fff41534
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff6fff41534
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
add r8, r10
mov edx, 0x5fd862e1
movzx eax, byte [r8]
inc r8
test al, al
je 0x7ff6fff4152f
nop
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8]
lea r8, [r8 + 1]
test al, al
jne 0x7ff6fff41510
cmp edx, 0xb2431701
je 0x7ff6fff41539
test r9d, r9d
jne 0x7ff6fff414f0
mov rcx, qword [rcx]
jmp 0x7ff6fff414c0
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
add rax, r10
mov edx, 4
mov rcx, rdi
call rax
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], 0
mov word [rbp - 0x54], 0x500
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x58]
call qword [sym.imp.advapi32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x7ff6fff417d4
lea r8, [rbp - 0x48]
mov rdx, qword [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.advapi32.dll_CheckTokenMembership]
test eax, eax
je 0x7ff6fff417a0
cmp dword [rbp - 0x48], 0
jne 0x7ff6fff41778
movdqa xmm0, xmmword [0x7ff700107f10]
mov dword [rsp + 0x70], 0x65165170
mov dword [rsp + 0x74], 0x2d033634
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov ecx, 0x374
mov eax, dword [rcx + rbx]
mov edi, 0x358
test al, 1
jne 0x7ff6fff4165e
or eax, 1
mov dword [rcx + rbx], eax
lea rax, [rdi + rbx]
mov byte [rax + 0x19], 1
lea rcx, [rax + 0x18]
lea rdx, [rsp + 0x78]
cmp rax, rdx
ja 0x7ff6fff4163f
lea rdx, [rsp + 0x60]
cmp rcx, rdx
jb 0x7ff6fff4163f
movups xmmword [rax], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 3
jmp 0x7ff6fff41651
movups xmmword [rax], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 3
lea rcx, [0x7ff700035f40]
call fcn.7ff70000a4a8
nop
lea rsi, [rbx + rdi]
cmp byte [rsi + 0x19], 0
je 0x7ff6fff41683
mov edx, 0x19
movabs r8, 0x36d5f5901777103
mov rcx, rsi
call fcn.7ff6fff02b20
mov byte [rsi + 0x19], 0
mov ecx, 0x354
mov eax, dword [rcx + rbx]
mov edi, 0x378
test al, 1
jne 0x7ff6fff416ad
or eax, 1
mov dword [rcx + rbx], eax
mov word [rbx + rdi], 0x103
lea rcx, [0x7ff700035f70]
call fcn.7ff70000a4a8
nop
lea rdx, [rbx + rdi]
cmp byte [rdx + 1], 0
je 0x7ff6fff416be
xor byte [rdx], 3
mov byte [rdx + 1], 0
xor r9d, r9d
mov r8, rsi
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
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 r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff6fff41756
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff6fff41756
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov ecx, dword [rdx + rbx]
add rcx, r10
mov r8d, 0x160da4ba
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x7ff6fff41751
nop dword [rax]
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x7ff6fff41730
cmp r8d, 0xd831f59f
je 0x7ff6fff4175b
test r9d, r9d
jne 0x7ff6fff41710
mov rax, qword [rax]
jmp 0x7ff6fff416e0
mov eax, dword [r11 + 0x24]
add rax, r10
movzx edx, word [rax + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor ecx, ecx
call rax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.7ff70000a010
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
lea rax, [0x7ff700107730]
mov qword [rbp - 0x50], rax
lea rdx, [0x7ff70011d3f8]
lea rcx, [rbp - 0x50]
call fcn.7ff70000c7c0
int3
call fcn.7ff7000107e0
int3
call fcn.7ff7000107e0
int3
call fcn.7ff7000107e0
int3
call qword [sym.imp.kernel32.dll_GetLastError]
lea rax, [0x7ff700107710]
mov qword [rbp - 0x50], rax
lea rdx, [0x7ff70011d3f8]
lea rcx, [rbp - 0x50]
call fcn.7ff70000c7c0
int3