Function at 0x1400411d0
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 [0x142486110]
mov ebp, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.14003f640
test rax, rax
je 0x140041cc4
mov rdi, rax
mov qword [rsp + 0x50], 0x80000
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
xor edx, edx
lea r14, [rsp + 0x50]
lea r15, [rsp + 0x288]
lea r12, [rsp + 0x130]
mov r13d, 0x80000
jmp 0x14004125a
mov rbp, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x288], 0
sub rbp, rdx
cmp r13, rbp
ja 0x1400412e8
mov ecx, 5
mov rdx, rdi
mov r8d, r13d
mov r9, r15
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jns 0x14004130c
mov ebp, eax
mov qword [rsp + 0x130], 0
xor ecx, ecx
mov rdx, r12
call sub.oleaut32.dll_GetErrorInfo
mov rcx, qword [rsp + 0x130]
and ebp, 0xefffffff
cmp ebp, 0xc0000004
jne 0x1400413bb
mov eax, dword [rsp + 0x288]
mov rdx, r13
add rdx, r13
lea r13d, [rax + 0x2800]
test eax, eax
cmove r13, rdx
test rcx, rcx
je 0x140041250
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140041250
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r14
mov r8, r13
call fcn.1400315f0
mov rdi, qword [rsp + 0x58]
jmp 0x14004126d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x110], 0
movzx eax, byte [0x142486110]
mov edx, 0xfa0
xor ecx, ecx
call fcn.14003f640
test rax, rax
je 0x140041cc4
mov qword [rsp + 0x68], 0x1f4
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
xor r15d, r15d
lea r14, [rsp + 0x68]
xor r12d, r12d
jmp 0x140041378
lea rcx, [rdi + r12]
mov qword [rax + r15*8], rcx
inc r15
mov qword [rsp + 0x78], r15
add r12, r13
test r13, r13
je 0x140041392
mov r13d, dword [rdi + r12]
cmp r15, qword [rsp + 0x68]
jne 0x140041360
mov rcx, r14
call fcn.140041cd0
mov rax, qword [rsp + 0x70]
jmp 0x140041360
lea rax, [rsi + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x118], rax
cmp byte [rbx], 1
jne 0x1400413e3
mov rcx, rsi
xor edx, edx
call fcn.140041d80
mov rax, qword [rsi + 0x10]
jmp 0x1400413e5
test rcx, rcx
je 0x1400413c6
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsp + 0x50], 0
je 0x140041c73
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, rdi
jmp 0x140041c6e
xor eax, eax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x130], 0
lea rcx, [rsp + 0x130]
call sub.KERNEL32.dll_GetSystemTimePreciseAsFileTime
mov rax, qword [rsp + 0x130]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jge 0x140041421
xor edx, edx
jmp 0x14004143f
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
mov qword [rsp + 0x128], rdx
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x140], rdi
movdqu xmm0, xmmword [rsp + 0x68]
movdqa xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rbx
lea rax, [rsp + 0x120]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x168], rax
mov r14, qword [rsp + 0x130]
cmp r14, rdi
jb 0x140041cc4
mov rbx, qword [rsp + 0x138]
call fcn.14002be80
test rax, rax
je 0x140041cc4
lea r15, [rsp + 0x148]
mov rax, qword [rax]
test rax, rax
je 0x14004150e
add rax, 0x110
jmp 0x140041513
call fcn.14002c5b0
mov rax, qword [rax]
mov r9, qword [rax + 0x208]
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 + 0x288]
mov rdx, rdi
xor r8d, r8d
call fcn.140042660
test r14, r14
je 0x14004156e
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, rbx
call fcn.14004d290
mov r8, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x298]
test rcx, rcx
sete al
test r8, r8
sete dl
or dl, al
jne 0x1400415bc
dec rcx
xor eax, eax
mov rdx, r8
nop word cs:[rax + rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x1400415b3
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x1400415a0
test rax, rax
jne 0x140041c8f
test r8, r8
je 0x1400416af
movabs r13, 0x8000000000000000
lea rdi, [rsp + 0x80]
jmp 0x1400415ec
mov r8, rbx
test rbx, rbx
je 0x1400416af
mov rbx, qword [r8 + 0x18]
test rbx, rbx
je 0x1400415fd
mov qword [rbx + 0x20], 0
mov rbp, qword [r8]
mov r14, qword [r8 + 8]
mov r15, qword [r8 + 0x10]
mov rcx, qword [0x1424860d8]
xor edx, edx
call fcn.14004d290
cmp rbp, r13
je 0x1400416a6
mov rax, qword [rsp + 0x80]
mov r12, qword [rsp + 0x90]
sub rax, r12
cmp rax, r15
jb 0x14004167f
imul rcx, r12, 0x158
add rcx, qword [rsp + 0x88]
imul r8, r15, 0x158
mov rdx, r14
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add r12, r15
mov qword [rsp + 0x90], r12
test rbp, rbp
je 0x1400415e0
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, r14
call fcn.14004d290
jmp 0x1400415e0
mov qword [rsp + 0x20], 0x158
mov r9d, 8
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.1400315f0
mov r12, qword [rsp + 0x90]
jmp 0x140041637
test rbx, rbx
jne 0x14004172d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov r14, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
imul r12, rax, 0x158
add r12, r14
mov qword [rsp + 0x48], r14
test rax, rax
je 0x140041ad1
lea r15, [rsp + 0x288]
lea rax, [rsi + 0x60]
mov qword [rsp + 0xf8], rax
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x48]
jmp 0x140041849
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, rbx
call fcn.14004d290
mov rbx, r15
test r15, r15
je 0x1400416af
mov r15, qword [rbx + 0x18]
test r15, r15
je 0x14004173e
mov qword [r15 + 0x20], 0
mov rdi, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x140041764
mov r14, rdi
nop
mov rcx, r14
call fcn.140043150
add r14, 0x158
dec r12
jne 0x140041750
cmp qword [rbx], 0
je 0x140041710
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, rdi
call fcn.14004d290
jmp 0x140041710
and r8b, 1
movzx r8d, r8b
sub qword [rsi + 0x50], r8
lea r8, [rdx - 0x10]
and r8, rcx
mov byte [r13 + rdx], al
mov byte [r13 + r8 + 0x10], al
inc qword [rsi + 0x58]
neg rdx
imul rdi, rdx, 0x160
mov qword [r13 + rdi - 0x160], rbp
mov qword [r13 + rdi - 0x158], rbx
lea rcx, [rdi + r13]
add rcx, 0xfffffffffffffeb0
mov r8d, 0xd8
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [r13 + rdi - 0x78], rbp
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [r13 + rdi - 0x70], xmm0
movdqu xmmword [r13 + rdi - 0x60], xmm1
movdqu xmmword [r13 + rdi - 0x50], xmm2
movups xmmword [r13 + rdi - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r13 + rdi - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r13 + rdi - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
movdqu xmmword [r13 + rdi - 0x10], xmm0
nop
cmp r14, r12
je 0x140041b04
mov rdi, r14
add r14, 0x158
mov rbx, qword [rdi]
cmp rbx, 2
je 0x140041ad1
mov rbp, qword [rdi + 0xe0]
lea rdx, [rdi + 8]
mov r8d, 0xd8
mov rcx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movups xmm0, xmmword [rdi + 0xe8]
movups xmm1, xmmword [rdi + 0xf8]
movups xmm2, xmmword [rdi + 0x108]
movups xmm3, xmmword [rdi + 0x118]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0xb0], xmm3
movups xmm0, xmmword [rdi + 0x128]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rdi + 0x138]
movaps xmmword [rsp + 0xd0], xmm0
movups xmm0, xmmword [rdi + 0x148]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsi + 0x60]
mov rdx, qword [rsi + 0x68]
mov r8, rbp
call fcn.140043320
mov rdi, rax
cmp qword [rsi + 0x50], 0
je 0x140041ab7
mov r13, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x48]
mov rax, rdi
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor r8d, r8d
xor r9d, r9d
and rdi, rcx
movdqu xmm1, xmmword [r13 + rdi]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb r10d, xmm2
test r10d, r10d
je 0x14004197c
nop word cs:[rax + rax]
tzcnt r11d, r10d
add r11, rdi
and r11, rcx
neg r11
imul r11, r11, 0x160
cmp qword [r13 + r11 - 0x160], rbp
je 0x1400419d0
lea r11d, [r10 - 1]
and r11w, r10w
mov r10d, r11d
jne 0x140041950
cmp r9, 1
mov r9d, 1
je 0x14004199f
pmovmskb edx, xmm1
xor r9d, r9d
test edx, edx
setne r9b
tzcnt edx, edx
add rdx, rdi
and rdx, rcx
pcmpeqb xmm1, xmm6
pmovmskb r10d, xmm1
test r10d, r10d
jne 0x140041a8f
add rdi, r8
add rdi, 0x10
add r8, 0x10
jmp 0x140041927
add r13, r11
lea rdx, [r13 - 0x158]
mov r8d, 0x158
lea rcx, [rsp + 0x130]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [r13 - 0x158], rbx
lea rcx, [r13 - 0x150]
mov r8d, 0xd8
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [r13 - 0x78], rbp
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r13 - 0x10], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r13 - 0x20], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r13 - 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [r13 - 0x40], xmm3
movdqu xmmword [r13 - 0x50], xmm2
movdqu xmmword [r13 - 0x60], xmm1
movdqu xmmword [r13 - 0x70], xmm0
cmp qword [rsp + 0x130], 2
je 0x140041840
lea rcx, [rsp + 0x130]
call fcn.140043150
jmp 0x140041840
movzx r8d, byte [r13 + rdx]
test r8b, r8b
js 0x14004177d
movdqa xmm0, xmmword [r13]
pmovmskb edx, xmm0
tzcnt edx, edx
movzx r8d, byte [r13 + rdx]
jmp 0x14004177d
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
call fcn.1400434a0
jmp 0x140041900
mov rax, r12
sub rax, r14
movabs rcx, 0xbe82fa0be82fa0bf
mul rcx
cmp r12, r14
je 0x140041b04
mov rdi, rdx
shr rdi, 8
mov rcx, r14
call fcn.140043150
add r14, 0x158
dec rdi
jne 0x140041af0
cmp qword [rsp + 0x108], 0
je 0x140041b22
mov rcx, qword [0x1424860d8]
xor edx, edx
mov r8, qword [rsp + 0x48]
call fcn.14004d290
mov r13, qword [rsi + 0x58]
test r13, r13
je 0x140041c58
mov rbx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x48], rax
lea r15, [rbx + 0x10]
movdqa xmm0, xmmword [rbx]
pmovmskb r14d, xmm0
not r14d
mov r12, qword [rsi + 0x50]
pcmpeqd xmm6, xmm6
mov rbp, rbx
mov rdi, r13
jmp 0x140041b93
lea rcx, [rax + rbp]
add rcx, 0xfffffffffffffea8
mov byte [rbx + rdx], r9b
mov byte [rbx + r8 + 0x10], r9b
dec r13
mov qword [rsi + 0x58], r13
call fcn.140043150
lea eax, [r14 - 1]
and eax, r14d
mov r14d, eax
dec rdi
je 0x140041c58
test r14w, r14w
jne 0x140041bc1
nop dword [rax]
movdqa xmm0, xmmword [r15]
pmovmskb r14d, xmm0
add rbp, 0xffffffffffffea00
add r15, 0x10
cmp r14d, 0xffff
je 0x140041ba0
not r14d
tzcnt eax, r14d
neg rax
imul rax, rax, 0x160
cmp byte [rbp + rax - 4], 0
mov byte [rbp + rax - 4], 0
jne 0x140041b80
mov rdx, rbx
sub rdx, rbp
sub rdx, rax
sar rdx, 5
movabs rcx, 0x2e8ba2e8ba2e8ba3
imul rdx, rcx
lea r8, [rdx - 0x10]
and r8, qword [rsp + 0x48]
movdqu xmm0, xmmword [rbx + r8]
pcmpeqb xmm0, xmm6
pmovmskb ecx, xmm0
test ecx, ecx
je 0x140041c1b
bsr cx, cx
xor ecx, 0xf
jmp 0x140041c1f
mov cx, 0x10
movdqu xmm0, xmmword [rbx + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
or r9d, 0x10000
tzcnt r9d, r9d
add ecx, r9d
mov r9b, pe_nt_image_headers64
cmp cx, 0xf
ja 0x140041b60
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x140041b60
cmp qword [rsp + 0x50], 0
je 0x140041c73
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x1424860d8]
xor edx, edx
call fcn.14004d290
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
mov qword [rsp + 0x20], 0x158
lea rcx, [rsp + 0x80]
mov r9d, 8
xor edx, edx
mov rdi, r8
mov r8, rax
call fcn.1400315f0
mov r8, rdi
test r8, r8
jne 0x1400415c5
jmp 0x1400416af
ud2