Function at 0x14001ade0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a3c40]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, qword [0x1409ffc00]
xor r13d, r13d
mov dword [rbp - 0x40], r13d
mov edi, 0x1000
mov ecx, edi
call fcn.140026dfc
mov rbx, rax
lea r9, [rbp - 0x40]
mov r8d, edi
mov rdx, rax
lea ecx, [r13 + 5]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001ae81
nop dword [rax + rax]
add rdi, 0x1000
mov rdx, rdi
mov rcx, rbx
call fcn.14002af58
mov rbx, rax
lea r9, [rbp - 0x40]
mov r8d, edi
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14001ae50
mov r15, rbx
test rbx, rbx
je 0x14001ae9e
nop dword [rax]
cmp qword [rbx + 0x50], 4
je 0x14001ae9e
mov eax, dword [rbx]
add rbx, rax
jne 0x14001ae90
mov edi, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1409ffdc8], eax
jle 0x14001af59
lea rcx, [0x1409ffdc8]
call fcn.14005b5b8
cmp dword [0x1409ffdc8], 0xffffffff
jne 0x14001af59
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], send
mov byte [rbp - 0x38], 0
mov r8d, recv
lea rdx, [0x140091748]
lea rcx, [rbp - 0x38]
call fcn.140003650
nop
lea rcx, [rbp - 0x38]
call fcn.140019f00
mov qword [0x1409ffe10], rax
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14001af4d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001af47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b330
call fcn.14005b964
nop
lea rcx, [0x1409ffdc8]
call fcn.14005b558
mov eax, dword [rdi]
cmp dword [0x1409ffde0], eax
jle 0x14001af9e
lea rcx, [0x1409ffde0]
call fcn.14005b5b8
cmp dword [0x1409ffde0], 0xffffffff
jne 0x14001af9e
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140091748]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1409ffdd0], rax
lea rcx, [0x1409ffde0]
call fcn.14005b558
mov eax, dword [rdi]
cmp dword [0x1409ffe2c], eax
jle 0x14001afd7
lea rcx, [0x1409ffe2c]
call fcn.14005b5b8
cmp dword [0x1409ffe2c], 0xffffffff
jne 0x14001afd7
mov rax, qword [0x1409ffdd0]
mov qword [0x1409ffdd8], rax
lea rcx, [0x1409ffe2c]
call fcn.14005b558
mov r14d, 0x5a4d
mov rax, qword [0x1409ffdd8]
cmp word [rax], r14w
je 0x14001aff5
mov rdx, r13
mov eax, r13d
jmp 0x14001b0f3
mov eax, dword [rdi]
cmp dword [0x1409ffe24], eax
jle 0x14001b039
lea rcx, [0x1409ffe24]
call fcn.14005b5b8
cmp dword [0x1409ffe24], 0xffffffff
jne 0x14001b039
mov rax, qword [0x1409ffdd8]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1409ffdd0]
mov qword [0x1409ffe38], rcx
lea rcx, [0x1409ffe24]
call fcn.14005b558
mov rax, qword [0x1409ffe38]
cmp dword [rax], 0x4550
je 0x14001b053
mov rdx, r13
mov eax, r13d
jmp 0x14001b0f3
mov esi, dword [rax + 0x50]
movdqa xmm0, xmmword [0x140092740]
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x140092730]
movdqu xmmword [rbp - 0x28], xmm1
mov dword [rbp - 0x18], 0x788d7848
mov word [rbp - 0x14], 0x7805
mov r14, qword [0x1409ffdd0]
add rsi, r14
mov rax, rsi
mov rcx, rsi
sub rcx, r14
cmp rcx, 0x13
jl 0x14001b0dd
lea r11, [rsi - 0x13]
mov r10, r14
nop dword [rax]
mov r8, r10
lea rdx, [rbp - 0x38]
nop word [rax + rax]
movzx r9d, word [rdx]
movzx ecx, r9w
shr cx, 8
cmp cl, 0x3f
je 0x14001b0ca
cmp byte [r8], r9b
jne 0x14001b30b
inc r8
add rdx, 2
lea rcx, [rbp - 0x12]
cmp rdx, rcx
jne 0x14001b0b0
mov rax, r10
mov rdx, r13
cmp rax, rsi
cmovne rdx, rax
mov rax, rdx
sub rax, r14
mov r14d, 0x5a4d
mov esi, eax
mov edx, dword [rdx + 0x13]
mov rax, qword [0x1409ffe10]
add rax, 0x17
add rsi, rax
add rsi, rdx
mov eax, dword [rdi]
cmp dword [0x1409ffe1c], eax
jle 0x14001b14e
lea rcx, [0x1409ffe1c]
call fcn.14005b5b8
cmp dword [0x1409ffe1c], 0xffffffff
jne 0x14001b14e
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140091748]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1409ffde8], rax
lea rcx, [0x1409ffe1c]
call fcn.14005b558
mov eax, dword [rdi]
cmp dword [0x1409ffdbc], eax
jle 0x14001b187
lea rcx, [0x1409ffdbc]
call fcn.14005b5b8
cmp dword [0x1409ffdbc], 0xffffffff
jne 0x14001b187
mov rax, qword [0x1409ffde8]
mov qword [0x1409ffdc0], rax
lea rcx, [0x1409ffdbc]
call fcn.14005b558
mov rax, qword [0x1409ffdc0]
cmp word [rax], r14w
jne 0x14001b1d8
mov eax, dword [rdi]
cmp dword [0x1409ffe30], eax
jle 0x14001b1d8
lea rcx, [0x1409ffe30]
call fcn.14005b5b8
cmp dword [0x1409ffe30], 0xffffffff
jne 0x14001b1d8
mov rax, qword [0x1409ffdc0]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1409ffde8]
mov qword [0x1409ffdf0], rcx
lea rcx, [0x1409ffe30]
call fcn.14005b558
mov eax, dword [rdi]
cmp dword [0x1409ffe18], eax
jle 0x14001b28c
lea rcx, [0x1409ffe18]
call fcn.14005b5b8
cmp dword [0x1409ffe18], 0xffffffff
jne 0x14001b28c
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], send
mov byte [rbp - 0x38], 0
mov r8d, 0x18
lea rdx, str.PsLookupThreadByThreadId
lea rcx, [rbp - 0x38]
call fcn.140003650
nop
lea r8, [rbp - 0x38]
mov rdx, qword [0x1409ffbf8]
mov rcx, r12
call fcn.14000c730
mov qword [0x1409ffdf8], rax
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14001b280
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b27a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b32a
call fcn.14005b964
nop
lea rcx, [0x1409ffe18]
call fcn.14005b558
mov edi, r13d
cmp dword [rbx + 4], r13d
jbe 0x14001b2d4
mov eax, edi
lea r9, [rax + rax*4]
add r9, r9
cmp qword [rbx + r9*8 + 0x120], rsi
jne 0x14001b2cd
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + r9*8 + 0x130]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.140025e70
test al, al
jne 0x14001b31c
inc edi
cmp edi, dword [rbx + 4]
jb 0x14001b295
mov rcx, r15
call fcn.140026de8
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005b410
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp r10, r11
je 0x14001b0dd
inc r10
jmp 0x14001b0a0
mov rcx, r15
call fcn.140026de8
mov rax, qword [rbp - 0x48]
jmp 0x14001b2de
call fcn.140026c98
nop
call fcn.140026c98
int3