Function at 0x1400d485c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
jmp 0x1402765e0
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x518
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x538]
mov rax, qword [0x14031bec0]
xor rax, rbp
mov qword [rbp + 0x4e0], rax
lea rcx, [0x14033b79d]
call fcn.1400d83bc
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.1400d722d
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x1402766b0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.1400d722d
mov dword [rbp + 0x44], eax
jmp 0x14027665c
cmp dword [rbp + 0x44], 0
jge 0x1402766d0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
jmp 0x140276b6a
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x84], 0
jmp 0x1402766f2
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140276b55
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.1400d5ea0
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d466d
mov rdx, qword [rbp + 0x510]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140276b43
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 0x30]
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.1400d5ea0
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.ucrtbased.dll_getenv]
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.1400d5ea0
mov qword [rbp + 0x4b8], rax
mov rax, qword [rbp + 0x4b8]
mov qword [rbp + 0x4c0], rax
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x4c8], rax
lea rdx, [0x1402ee6c8]
mov rcx, qword [rbp + 0x4c8]
call fcn.1400d5c1b
mov qword [rbp + 0x4d0], rax
xor r8d, r8d
lea rdx, str.SystemRoot_
lea rcx, [rbp + 0xe8]
call fcn.1400d58ab
mov qword [rbp + 0x4d8], rax
mov r9, qword [rbp + 0x4d0]
mov r8d, 0xc
mov rdx, qword [rbp + 0x4d8]
lea rcx, [rbp + 0xe8]
call fcn.1400d7412
nop
lea rcx, [rbp + 0x3e8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xe8]
call fcn.1400d466d
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x148]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1402768a6
mov qword [rbp + 0x428], 0
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
mov rax, qword [rbp + 0x428]
jmp 0x140276b6a
mov rax, qword [rbp + 0x148]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
cmp dword [rax], 0x4550
je 0x140276904
mov qword [rbp + 0x448], 0
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
mov rax, qword [rbp + 0x448]
jmp 0x140276b6a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x168]
cmp dword [rcx + rax + 0x88], 0
jne 0x14027694e
mov qword [rbp + 0x468], 0
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
mov rax, qword [rbp + 0x468]
jmp 0x140276b6a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x168]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x204], 0
jmp 0x1402769ed
mov eax, dword [rbp + 0x204]
inc eax
mov dword [rbp + 0x204], eax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x1c]
cmp dword [rbp + 0x204], eax
jae 0x140276b36
movsxd rax, dword [rbp + 0x204]
mov rcx, qword [rbp + 0x1c8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x518]
call fcn.1400d8a47
test eax, eax
jne 0x140276b31
movzx eax, byte [rbp + 0x520]
test eax, eax
jne 0x140276acb
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
movsxd rcx, dword [rbp + 0x204]
mov rdx, qword [rbp + 0x1e8]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rbp + 0x1a8]
mov ecx, dword [rdx + rcx*4]
mov rdx, qword [rbp + 0x68]
add rcx, qword [rdx + rax + 0x18]
mov rax, rcx
mov qword [rbp + 0x228], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x488], rax
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
mov rax, qword [rbp + 0x488]
jmp 0x140276b6a
movsxd rax, dword [rbp + 0x204]
mov rcx, qword [rbp + 0x1e8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x1a8]
mov eax, dword [rcx + rax*4]
mov qword [rbp + 0x248], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rbp + 0x248]
mov qword [rbp + 0x4a8], rax
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
mov rax, qword [rbp + 0x4a8]
jmp 0x140276b6a
jmp 0x1402769df
lea rcx, [rbp + 0xe8]
call fcn.1400d4ce9
nop
lea rcx, [rbp + 0xa8]
call fcn.1400d4ce9
nop
jmp 0x1402766e4
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402f6510]
call fcn.1400d77cd
mov rax, rdi
mov rcx, qword [rbp + 0x4e0]
xor rcx, rbp
call fcn.1400d60b7
lea rsp, [rbp + 0x4f8]
pop rdi
pop rbp
ret