Function at 0x1800f9a70
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
movdqa xmmword [rsp + 0x360], xmm6
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800f9abe
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800fa54f
mov rcx, rax
mov qword [0x1801fa958], rax
mov ebp, 0x80000
mov r8d, 0x80000
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800fa54f
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x80000
mov qword [rsp + 0x70], 0
xor edx, edx
lea r14, [rsp + 0x60]
lea r15, [rsp + 0x150]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r12d, 0x80000
jmp 0x1800f9b2a
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x150], 0
sub rbp, rdx
cmp rbp, r12
jb 0x1800f9b94
mov ecx, 5
mov rdx, rdi
mov r8d, r12d
mov r9, r15
call r13
test eax, eax
jns 0x1800f9ba6
or eax, 0x10000000
mov ecx, eax
call fcn.180116540
cmp edx, 0xd0000004
jne 0x1800f9c90
mov ecx, dword [rsp + 0x150]
mov rdx, r12
add rdx, r12
lea r12d, [rcx + 0x2800]
test ecx, ecx
cmove r12, rdx
test rax, rax
je 0x1800f9b20
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x1800f9b20
mov rcx, r14
mov r8, r12
call fcn.180167f60
mov rdi, qword [rsp + 0x60]
jmp 0x1800f9b3d
mov qword [rsp + 0x70], r12
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800f9bd7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800fa560
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0xfa0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800fa560
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0x1f4
mov qword [rsp + 0x88], 0
xor edx, edx
lea r14, [rsp + 0x78]
xor r15d, r15d
jmp 0x1800f9c37
mov qword [rax + rdx*8], r13
inc rdx
mov qword [rsp + 0x88], rdx
add r15, r12
test r12, r12
je 0x1800f9c60
lea r13, [rdi + r15]
mov r12d, dword [rdi + r15]
cmp rdx, qword [rsp + 0x80]
jne 0x1800f9c20
mov rcx, r14
call fcn.1800d5ac0
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
jmp 0x1800f9c20
lea rax, [rsi + 0x40]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rax
cmp byte [rbx], 0
je 0x1800f9cbb
lea rcx, [rsi + 0x90]
xor edx, edx
call fcn.1800fa580
mov rax, qword [rsi + 0x110]
jmp 0x1800f9cbd
test rax, rax
je 0x1800f9c9e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
cmp qword [rsp + 0x68], 0
je 0x1800fa516
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, rdi
jmp 0x1800fa510
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x150], 0
mov rax, qword [0x1801f9030]
lea rcx, [rsp + 0x150]
call rax
mov rax, qword [rsp + 0x150]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jl 0x1800f9d19
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
jmp 0x1800f9d1b
xor edx, edx
mov qword [rsp + 0xc0], rdx
mov rdi, qword [rsp + 0x88]
mov qword [rsp + 0x160], rdi
movdqu xmm0, xmmword [rsp + 0x78]
movdqa xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0xc8], 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rbx
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x180], rax
mov r14, qword [rsp + 0x158]
cmp r14, rdi
jb 0x1800fa571
lea r15, [rsp + 0x168]
mov rbx, qword [rsp + 0x150]
mov eax, dword [0x1801fa9d4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x1800f9ddb
add rax, 0x110
jmp 0x1800f9de0
call fcn.18006a120
mov rax, qword [rax]
mov r9, qword [rax + 0x210]
xor eax, eax
cmp rdi, 0xffffffffffffffff
sete al
cmp rax, r9
cmova r9, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x2a8]
mov rdx, rdi
xor r8d, r8d
call fcn.1800fb070
test r14, r14
je 0x1800f9e3c
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2b8]
test rax, rax
je 0x1800f9e7b
xor r8d, r8d
mov rcx, rbx
nop word [rax + rax]
test rcx, rcx
je 0x1800f9e72
add r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
dec rax
jne 0x1800f9e60
test r8, r8
jne 0x1800fa532
test rbx, rbx
je 0x1800f9f5b
mov r13, qword [sym.imp.kernel32.dll_HeapFree]
lea r14, [rsp + 0xc8]
jmp 0x1800f9eac
mov rbx, rdi
test rdi, rdi
je 0x1800f9f5b
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1800f9ebd
mov qword [rdi + 0x20], 0
mov r15, qword [rbx]
mov rbp, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, rbx
call r13
test r15, r15
je 0x1800f9f52
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
sub rax, rbx
cmp rax, r12
jb 0x1800f9f3a
imul rcx, rbx, 0x150
add rcx, qword [rsp + 0xc8]
imul r8, r12, 0x150
mov rdx, r15
call fcn.180158470
add rbx, r12
mov qword [rsp + 0xd8], rbx
test rbp, rbp
je 0x1800f9ea0
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, r15
call r13
jmp 0x1800f9ea0
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.18016ce40
mov rbx, qword [rsp + 0xd8]
jmp 0x1800f9ef4
test rdi, rdi
jne 0x1800f9feb
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xd8]
imul rcx, rax, 0x150
add rcx, r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x90], r14
test rax, rax
je 0x1800fa353
lea rax, [rsi + 0x60]
mov qword [rsp + 0x98], rax
lea r13, [rsp + 0x2a8]
lea r12, [rsp + 0xc8]
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x50], rsi
jmp 0x1800fa0d0
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, rdi
call r13
mov rdi, r15
test r15, r15
je 0x1800f9f5b
mov r15, qword [rdi + 0x18]
test r15, r15
je 0x1800f9ffc
mov qword [r15 + 0x20], 0
mov rbx, qword [rdi]
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x1800fa024
mov r14, rbx
nop dword [rax + rax]
mov rcx, r14
call fcn.1800fbe20
add r14, 0x150
dec r12
jne 0x1800fa010
cmp qword [rdi + 8], 0
je 0x1800f9fd0
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, rbx
call r13
jmp 0x1800f9fd0
mov rbx, qword [rsp + 0x50]
movzx edx, dl
sub qword [rbx + 0x50], rdx
lea rdx, [rcx - 0x10]
and rdx, rax
mov byte [r12 + rcx], dil
mov byte [rdx + r12 + 0x10], dil
inc qword [rbx + 0x58]
mov rdi, qword [rbx + 0x40]
neg rcx
imul rbx, rcx, 0x158
mov qword [rdi + rbx - 0x158], r15
mov qword [rdi + rbx - 0x150], rbp
lea rcx, [rdi + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.180158470
mov qword [rdi + rbx - 0x90], r15
lea rcx, [rdi + rbx]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
lea r12, [rsp + 0xc8]
mov rdx, r12
call fcn.180158470
nop
cmp r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
je 0x1800fa394
mov rdx, r14
add r14, 0x150
mov rbp, qword [rdx]
cmp rbp, 2
je 0x1800fa353
lea rdi, [rdx + 0xc8]
mov r15, qword [rdx + 0xc0]
add rdx, 8
mov r8d, 0xb8
mov rbx, rsi
mov rsi, r13
mov rcx, r13
call fcn.180158470
mov r8d, 0x88
mov rcx, r12
mov rdx, rdi
call fcn.180158470
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov r8, r15
call fcn.1800fbfd0
mov r13, rax
mov r12, qword [rbx + 0x40]
mov rax, qword [rbx + 0x48]
mov rdi, r13
shr rdi, 0x39
movd xmm0, edi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea rcx, [r12 - 0x158]
xor edx, edx
mov r8, r13
and r8, rax
movdqu xmm1, xmmword [r12 + r8]
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb r9d, xmm2
nop word cs:[rax + rax]
test r9w, r9w
je 0x1800fa1b0
lea r10d, [r9 - 1]
and r10d, r9d
tzcnt r9d, r9d
add r9, r8
and r9, rax
neg r9
imul rbx, r9, 0x158
mov r9d, r10d
cmp qword [rcx + rbx], r15
jne 0x1800fa180
jmp 0x1800fa1d0
pcmpeqb xmm1, xmm6
pmovmskb r9d, xmm1
test r9d, r9d
jne 0x1800fa25c
add r8, rdx
add r8, 0x10
add rdx, 0x10
jmp 0x1800fa15f
lea rdx, [r12 + rbx]
add rdx, 0xfffffffffffffeb0
mov r8d, 0x150
lea rcx, [rsp + 0x150]
call fcn.180158470
mov qword [r12 + rbx - 0x150], rbp
lea rcx, [r12 + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.180158470
mov qword [r12 + rbx - 0x90], r15
lea rcx, [r12 + rbx]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
lea r12, [rsp + 0xc8]
mov rdx, r12
call fcn.180158470
cmp qword [rsp + 0x150], 2
je 0x1800fa0c0
lea rcx, [rsp + 0x150]
call fcn.1800fbe20
jmp 0x1800fa0c0
mov rdx, rax
and rdx, r13
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800fa298
mov r8d, 0x10
nop word cs:[rax + rax]
add rdx, r8
and rdx, rax
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
add r8, 0x10
test ecx, ecx
je 0x1800fa280
tzcnt ecx, ecx
add rcx, rdx
and rcx, rax
movzx edx, byte [r12 + rcx]
test dl, dl
js 0x1800fa2be
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
movzx edx, byte [r12 + rcx]
and dl, 1
je 0x1800fa03c
mov rbx, qword [rsp + 0x50]
cmp qword [rbx + 0x50], 0
jne 0x1800fa041
mov byte [rsp + 0x4f], dl
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
call fcn.18016cf10
mov r12, qword [rbx + 0x40]
mov rax, qword [rbx + 0x48]
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800fa326
mov edx, 0x10
add r13, rdx
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
add rdx, 0x10
test ecx, ecx
je 0x1800fa30e
tzcnt ecx, ecx
add rcx, r13
and rcx, rax
cmp byte [r12 + rcx], 0
movzx edx, byte [rsp + 0x4f]
js 0x1800fa03c
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
jmp 0x1800fa03c
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, r14
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
cmp r8, r14
je 0x1800fa394
mov rdi, rdx
nop word [rax + rax]
mov rcx, r14
call fcn.1800fbe20
add r14, 0x150
dec rdi
jne 0x1800fa380
cmp qword [rsp + 0xa8], 0
je 0x1800fa3b6
mov rcx, qword [0x1801fa958]
xor edx, edx
mov r8, qword [rsp + 0x90]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x1800fa4fa
mov r13, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x58], rax
lea r15, [r13 + 0x10]
movdqa xmm0, xmmword [r13]
pmovmskb eax, xmm0
not eax
mov r12, qword [rsi + 0x50]
pcmpeqd xmm6, xmm6
mov rbp, rdi
mov rbx, r13
jmp 0x1800fa41d
lea rcx, [rbx + rax]
add rcx, 0xfffffffffffffeb0
mov byte [r13 + rdx], r9b
mov byte [r8 + r13 + 0x10], r9b
dec rdi
mov qword [rsi + 0x58], rdi
call fcn.1800fbe20
mov eax, r14d
test rbp, rbp
je 0x1800fa4fa
test ax, ax
je 0x1800fa430
lea r14d, [rax - 1]
and r14d, eax
jmp 0x1800fa459
movdqa xmm0, xmmword [r15]
pmovmskb eax, xmm0
add rbx, 0xffffffffffffea80
add r15, 0x10
cmp ax, 0xffff
je 0x1800fa430
mov ecx, 0xfffffffe
sub ecx, eax
not eax
mov r14d, eax
and r14d, ecx
tzcnt eax, eax
neg rax
imul rax, rax, 0x158
dec rbp
cmp byte [rbx + rax - 4], 0
mov byte [rbx + rax - 4], 0
jne 0x1800fa411
mov rdx, r13
sub rdx, rbx
sub rdx, rax
sar rdx, 3
movabs rcx, 0x82fa0be82fa0be83
imul rdx, rcx
lea r8, [rdx - 0x10]
and r8, qword [rsp + 0x58]
movdqu xmm0, xmmword [r13 + r8]
pcmpeqb xmm0, xmm6
psllw xmm0, 7
pmovmskb ecx, xmm0
test ecx, ecx
je 0x1800fa4bb
bsr cx, cx
xor ecx, 0xf
jmp 0x1800fa4bf
mov cx, 0x10
movdqu xmm0, xmmword [r13 + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
or r9d, 0x10000
tzcnt r9d, r9d
add ecx, r9d
mov r9b, 0x80
cmp cx, 0xf
ja 0x1800fa3f0
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x1800fa3f0
cmp qword [rsp + 0x68], 0
je 0x1800fa516
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1801fa958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x360]
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xc8]
xor edx, edx
call fcn.18016ce40
test rbx, rbx
jne 0x1800f9e84
jmp 0x1800f9f5b
mov ecx, 1
mov edx, 0x80000
call fcn.180166060
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.180166060
ud2
ud2