Function at 0x1400116d1
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140021570
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140040167]
call fcn.140011933
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, str.C:UsersPublicexample.txt
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14002166d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1e4], eax
lea rdx, str.Failed_to_open_dummy_file__error:__lu
lea rcx, [rbp + 0x188]
call fcn.14001141f
nop
lea rdx, str.c_poc::get_file_object_address
lea rcx, [rbp + 0x1c8]
call fcn.1400113b6
mov eax, dword [rbp + 0x1e4]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x188]
lea r8, [rbp + 0x1c8]
mov edx, 0xc
lea rcx, [0x1400384e0]
call fcn.140011767
nop
lea rcx, [rbp + 0x188]
call fcn.1400111b8
nop
mov eax, 1
jmp 0x1400217d0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x68]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xc0000004
jne 0x14002172a
cmp qword [rbp + 0x68], 0
je 0x1400216ee
mov eax, dword [rbp + 0x44]
shl rax, 1
mov qword [rbp + 0x1e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x1f0], rax
mov r9, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x68]
mov edx, 8
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbp + 0x68], rax
jmp 0x140021725
mov eax, dword [rbp + 0x44]
shl rax, 1
mov qword [rbp + 0x1e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x1f0], rax
mov r8, qword [rbp + 0x1e8]
mov edx, 8
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x68], rax
jmp 0x140021683
mov qword [rbp + 0x88], 0
cmp dword [rbp + 0x24], 0
jl 0x1400217c9
mov dword [rbp + 0xa4], 0
jmp 0x140021759
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0xa4], eax
jae 0x1400217c9
mov eax, dword [rbp + 0xa4]
imul rax, rax, 0x18
mov rcx, qword [rbp + 0x68]
movzx eax, word [rcx + rax + 8]
mov dword [rbp + 0x1e4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbp + 0x1e4]
cmp ecx, eax
jne 0x1400217c7
mov eax, dword [rbp + 0xa4]
imul rax, rax, 0x18
mov rcx, qword [rbp + 0x68]
movzx eax, word [rcx + rax + 0xe]
movzx ecx, word [rbp + 8]
cmp eax, ecx
jne 0x1400217c7
mov eax, dword [rbp + 0xa4]
imul rax, rax, 0x18
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x10]
mov qword [rbp + 0x88], rax
jmp 0x1400217c9
jmp 0x14002174b
mov rax, qword [rbp + 0x88]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140031db0]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret