Function at 0x14001ae20
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.14002703c
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 0x14001aec1
nop dword [rax + rax]
add rdi, 0x1000
mov rdx, rdi
mov rcx, rbx
call fcn.14002b198
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 0x14001ae90
mov r15, rbx
test rbx, rbx
je 0x14001aede
nop dword [rax]
cmp qword [rbx + 0x50], 4
je 0x14001aede
mov eax, dword [rbx]
add rbx, rax
jne 0x14001aed0
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 0x14001af99
lea rcx, [0x1409ffdc8]
call fcn.14005b7f8
cmp dword [0x1409ffdc8], 0xffffffff
jne 0x14001af99
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.140019f40
mov qword [0x1409ffe10], rax
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14001af8d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001af87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b370
call fcn.14005bba4
nop
lea rcx, [0x1409ffdc8]
call fcn.14005b798
mov eax, dword [rdi]
cmp dword [0x1409ffde0], eax
jle 0x14001afde
lea rcx, [0x1409ffde0]
call fcn.14005b7f8
cmp dword [0x1409ffde0], 0xffffffff
jne 0x14001afde
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.14005b798
mov eax, dword [rdi]
cmp dword [0x1409ffe2c], eax
jle 0x14001b017
lea rcx, [0x1409ffe2c]
call fcn.14005b7f8
cmp dword [0x1409ffe2c], 0xffffffff
jne 0x14001b017
mov rax, qword [0x1409ffdd0]
mov qword [0x1409ffdd8], rax
lea rcx, [0x1409ffe2c]
call fcn.14005b798
mov r14d, 0x5a4d
mov rax, qword [0x1409ffdd8]
cmp word [rax], r14w
je 0x14001b035
mov rdx, r13
mov eax, r13d
jmp 0x14001b133
mov eax, dword [rdi]
cmp dword [0x1409ffe24], eax
jle 0x14001b079
lea rcx, [0x1409ffe24]
call fcn.14005b7f8
cmp dword [0x1409ffe24], 0xffffffff
jne 0x14001b079
mov rax, qword [0x1409ffdd8]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1409ffdd0]
mov qword [0x1409ffe38], rcx
lea rcx, [0x1409ffe24]
call fcn.14005b798
mov rax, qword [0x1409ffe38]
cmp dword [rax], 0x4550
je 0x14001b093
mov rdx, r13
mov eax, r13d
jmp 0x14001b133
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 0x14001b11d
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 0x14001b10a
cmp byte [r8], r9b
jne 0x14001b34b
inc r8
add rdx, 2
lea rcx, [rbp - 0x12]
cmp rdx, rcx
jne 0x14001b0f0
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 0x14001b18e
lea rcx, [0x1409ffe1c]
call fcn.14005b7f8
cmp dword [0x1409ffe1c], 0xffffffff
jne 0x14001b18e
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.14005b798
mov eax, dword [rdi]
cmp dword [0x1409ffdbc], eax
jle 0x14001b1c7
lea rcx, [0x1409ffdbc]
call fcn.14005b7f8
cmp dword [0x1409ffdbc], 0xffffffff
jne 0x14001b1c7
mov rax, qword [0x1409ffde8]
mov qword [0x1409ffdc0], rax
lea rcx, [0x1409ffdbc]
call fcn.14005b798
mov rax, qword [0x1409ffdc0]
cmp word [rax], r14w
jne 0x14001b218
mov eax, dword [rdi]
cmp dword [0x1409ffe30], eax
jle 0x14001b218
lea rcx, [0x1409ffe30]
call fcn.14005b7f8
cmp dword [0x1409ffe30], 0xffffffff
jne 0x14001b218
mov rax, qword [0x1409ffdc0]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1409ffde8]
mov qword [0x1409ffdf0], rcx
lea rcx, [0x1409ffe30]
call fcn.14005b798
mov eax, dword [rdi]
cmp dword [0x1409ffe18], eax
jle 0x14001b2cc
lea rcx, [0x1409ffe18]
call fcn.14005b7f8
cmp dword [0x1409ffe18], 0xffffffff
jne 0x14001b2cc
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.14000c770
mov qword [0x1409ffdf8], rax
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14001b2c0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b2ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b36a
call fcn.14005bba4
nop
lea rcx, [0x1409ffe18]
call fcn.14005b798
mov edi, r13d
cmp dword [rbx + 4], r13d
jbe 0x14001b314
mov eax, edi
lea r9, [rax + rax*4]
add r9, r9
cmp qword [rbx + r9*8 + 0x120], rsi
jne 0x14001b30d
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.1400260b0
test al, al
jne 0x14001b35c
inc edi
cmp edi, dword [rbx + 4]
jb 0x14001b2d5
mov rcx, r15
call fcn.140027028
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005b650
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 0x14001b11d
inc r10
jmp 0x14001b0e0
mov rcx, r15
call fcn.140027028
mov rax, qword [rbp - 0x48]
jmp 0x14001b31e
call fcn.140026ed8
nop
call fcn.140026ed8
int3