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

Disassembly:
push rbp
sub rsp, 0x900
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x878], 0xfffffffffffffffe
mov qword [rbp + 0x10], rcx
mov ax, dx
mov word [rbp + 0x1c], ax
shr edx, 0x10
mov al, dl
mov byte [rbp + 0x1e], al
mov ax, word [rbp + 0x1c]
mov word [rbp + 0x19], ax
mov al, byte [rbp + 0x1e]
mov byte [rbp + 0x1b], al
mov qword [rbp + 0x840], rcx
mov byte [rbp + 0x83f], 0
mov byte [rbp + 0x83e], 0
xor eax, eax
test al, 1
jne 0x140013a3e
mov qword [rbp + 0x20], 0x80000
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1400206d0
jmp 0x140013a58
lea rcx, [0x1400a1050]
lea r8, [0x1400a1030]
mov edx, 0x21
call fcn.14009f4b0
ud2
mov dword [rbp + 0x44], 0
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.140054ab0
jmp 0x140013a6e
lea rcx, [rbp + 0x28]
call fcn.140020a00
mov qword [rbp + 8], rax
jmp 0x140013a7d
mov rdx, qword [rbp + 8]
mov r8d, dword [rbp + 0x20]
mov rax, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, 5
lea r9, [rbp + 0x44]
call rax
mov dword [rbp + 4], eax
jmp 0x140013a9c
mov eax, dword [rbp + 4]
mov dword [rbp + 0x84c], eax
cmp eax, 0
je 0x140013ab6
mov eax, dword [rbp + 4]
cmp eax, 0xc0000004
je 0x140013ad3
jmp 0x140013ac8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1400224a0
jmp 0x140013b8a
lea rcx, [rbp + 0x28]
call fcn.1400579d0
jmp 0x140013adb
cmp dword [rbp + 0x44], 0
je 0x140013ae4
jmp 0x140013afd
add rsp, 0x900
pop rbp
ret
mov rax, qword [rbp + 0x20]
mov ecx, 2
mul rcx
mov qword [rbp - 8], rax
seto al
test al, 1
jne 0x140013b18
jmp 0x140013b0b
mov eax, dword [rbp + 0x44]
mov dword [rbp - 0xc], eax
xor eax, eax
test al, 1
jne 0x140013b48
jmp 0x140013b34
mov rax, qword [rbp - 8]
mov qword [rbp + 0x20], rax
jmp 0x140013a58
lea rcx, [0x1400a1050]
lea r8, [0x1400a1078]
mov edx, 0x21
call fcn.14009f4b0
jmp 0x140013b32
ud2
mov eax, dword [rbp - 0xc]
add eax, 0x2800
mov dword [rbp - 0x10], eax
setb al
test al, 1
jne 0x140013b70
jmp 0x140013b62
lea rcx, [0x1400a1050]
lea r8, [0x1400a1090]
mov edx, 0x21
call fcn.14009f4b0
jmp 0x140013b32
mov eax, dword [rbp - 0x10]
mov eax, eax
mov qword [rbp + 0x20], rax
jmp 0x140013a58
lea rcx, [0x1400a10c0]
lea r8, [0x1400a10a8]
mov edx, 0x1c
call fcn.14009f4b0
jmp 0x140013b32
lea rcx, [rbp + 0x48]
mov edx, 0x1f4
call fcn.140020860
jmp 0x140013b9a
mov byte [rbp + 0x83f], 1
mov qword [rbp + 0x60], 0
lea rcx, [rbp + 0x28]
call fcn.140022180
mov qword [rbp - 0x18], rax
jmp 0x140013bb8
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x858], rax
mov qword [rbp + 0x860], rcx
add rax, rcx
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x850], rax
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.1400215b0
jmp 0x140013bef
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x70]
call fcn.140048e80
jmp 0x140013bfe
cmp dword [rbp + 0x70], 0
jne 0x140013c36
mov rax, qword [rbp + 0x10]
add rax, 0x40
mov qword [rbp + 0x870], rax
mov qword [rbp + 0x868], rax
mov rax, qword [rbp + 0x868]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x19]
call fcn.140019350
mov byte [rbp - 0x21], al
jmp 0x140013c51
mov eax, dword [rbp + 0x70]
add rax, qword [rbp + 0x60]
mov qword [rbp - 0x30], rax
seto al
test al, 1
jne 0x140013eb2
jmp 0x140013ea5
mov al, byte [rbp - 0x21]
test al, 1
jne 0x140013c67
jmp 0x140013c5a
mov qword [rbp + 0x1c8], 0
jmp 0x140013c7d
mov rcx, qword [rbp + 0x10]
add rcx, 0x110
call fcn.14004a870
mov qword [rbp - 0x38], rax
jmp 0x140013c88
call fcn.14004ca80
mov qword [rbp - 0x40], rax
jmp 0x140013c95
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x1c8], rax
jmp 0x140013c7d
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x1d0], rax
mov byte [rbp + 0x83f], 0
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x250], rax
movups xmm0, xmmword [rbp + 0x48]
movaps xmmword [rbp + 0x240], xmm0
lea rcx, [rbp + 0x228]
lea rdx, [rbp + 0x240]
call fcn.140049e60
jmp 0x140013cd2
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x260], rax
lea rax, [rbp + 0x19]
mov qword [rbp + 0x268], rax
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x270], rax
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x1f0]
lea rdx, [rbp + 0x228]
lea r8, [rbp + 0x260]
call fcn.14003d5e0
jmp 0x140013d23
lea rcx, [rbp + 0x1d8]
lea rdx, [rbp + 0x1f0]
call fcn.140034e80
jmp 0x140013d38
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x2d0], rax
movups xmm0, xmmword [rbp + 0x1d8]
movaps xmmword [rbp + 0x2c0], xmm0
lea rcx, [rbp + 0x2a0]
lea rdx, [rbp + 0x2c0]
call fcn.140023990
jmp 0x140013d69
lea rcx, [rbp + 0x280]
lea rdx, [rbp + 0x2a0]
call fcn.140041070
jmp 0x140013d7e
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x2d8], rax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x2e0], rax
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x2f0], rax
lea rcx, [rbp + 0x2f8]
lea rdx, [rbp + 0x2d8]
call fcn.14003ea10
jmp 0x140013dcb
cmp qword [rbp + 0x2f8], 2
sete al
test al, 1
jne 0x140013ddc
jmp 0x140013dea
lea rcx, [rbp + 0x2d8]
call fcn.140010360
jmp 0x140013e29
mov byte [rbp + 0x83e], 1
lea rcx, [rbp + 0x448]
mov qword [rbp - 0x58], rcx
lea rdx, [rbp + 0x2f8]
mov r8d, 0x150
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp + 0x10]
add rax, 0x40
mov qword [rbp - 0x50], rax
call fcn.140026520
mov qword [rbp - 0x48], rax
jmp 0x140013e4d
mov rcx, qword [rbp + 0x10]
add rcx, 0x40
call fcn.1400075c0
jmp 0x140013e38
mov byte [rbp + 0x83f], 0
lea rcx, [rbp + 0x28]
call fcn.1400579d0
jmp 0x140013adb
mov byte [rbp + 0x83e], 0
lea rcx, [rbp + 0x6e8]
mov qword [rbp - 0x60], rcx
lea rdx, [rbp + 0x448]
mov r8d, 0x150
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x60]
lea rcx, [rbp + 0x598]
call fcn.140007570
jmp 0x140013e8b
lea rcx, [rbp + 0x598]
call fcn.14000ff10
jmp 0x140013e99
mov byte [rbp + 0x83e], 0
jmp 0x140013db6
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x60], rax
jmp 0x140013ba9
lea rcx, [0x1400a10c0]
lea r8, [0x1400a10e0]
mov edx, 0x1c
call fcn.14009f4b0
jmp 0x140013b32