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

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x140111080]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x158], 0
lea r9, [rsp + 0x158]
mov r8d, dword [rsp + 0x158]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0000004
jne 0x140072741
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x158]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x158]
mov r8d, dword [rsp + 0x158]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
jmp 0x1400726dc
cmp dword [rsp + 0x38], 0
jge 0x140072762
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140072cf2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x24], 0
jmp 0x140072780
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x140072cdd
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x50]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.14008aa80
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0xf
jbe 0x140072801
mov dword [rsp + 0x48], 1
jmp 0x140072809
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14007283b
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400ce2ec
test eax, eax
jne 0x140072ccb
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14008aa80
nop
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x21]
call fcn.140072d10
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
xor r8d, r8d
lea rdx, str.SystemRoot_
lea rcx, [rsp + 0x160]
call fcn.14008a370
mov qword [rsp + 0xd8], rax
mov r9, qword [rsp + 0xd0]
mov r8d, 0xc
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x160]
call fcn.14008a6e0
nop
lea rcx, [rsp + 0x138]
call fcn.14008d030
lea rax, [rsp + 0x160]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 0xf
jbe 0x140072969
mov dword [rsp + 0x4c], 1
jmp 0x140072971
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1400729a3
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140072a31
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
mov rax, qword [rsp + 0xf8]
jmp 0x140072cf2
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
je 0x140072a8e
mov qword [rsp + 0x100], 0
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
mov rax, qword [rsp + 0x100]
jmp 0x140072cf2
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x88], 0
jne 0x140072ada
mov qword [rsp + 0x108], 0
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
mov rax, qword [rsp + 0x108]
jmp 0x140072cf2
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0
jmp 0x140072b61
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x28], eax
jae 0x140072cbd
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1c8]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140072bac
inc rcx
test dl, dl
jne 0x140072b99
xor eax, eax
jmp 0x140072bb1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140072cb8
movzx eax, byte [rsp + 0x1d0]
test eax, eax
jne 0x140072c4f
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x78]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rdx + rcx*4]
mov rdx, qword [rsp + 0x50]
add rcx, qword [rdx + rax + 0x18]
mov rax, rcx
mov qword [rsp + 0x118], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
mov rax, qword [rsp + 0x120]
jmp 0x140072cf2
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x128], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
mov rax, qword [rsp + 0x130]
jmp 0x140072cf2
jmp 0x140072b57
lea rcx, [rsp + 0x160]
call fcn.14008d030
nop
lea rcx, [rsp + 0x180]
call fcn.14008d030
jmp 0x140072776
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400c2e70
add rsp, 0x1b0
pop rdi
ret