Function at 0x140012080
Capabilities:
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140073060]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [0x14006bee8]
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [str.xxx____x____xxxx]
movups xmmword [rbp - 0x20], xmm0
mov r15d, 4
mov rax, qword gs:[0x58]
add r15, qword [rax]
xor r14d, r14d
mov eax, dword [r15]
cmp dword [0x1400764b0], eax
jle 0x140012390
lea rcx, [0x1400764b0]
call fcn.140017d80
cmp dword [0x1400764b0], 0xffffffff
jne 0x140012390
mov eax, dword [r15]
cmp dword [0x14007639c], eax
jle 0x14001214a
lea rcx, [0x14007639c]
call fcn.140017d80
cmp dword [0x14007639c], 0xffffffff
jne 0x14001214a
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400762b8], rax
lea rcx, [0x14007639c]
call fcn.140017d20
mov eax, dword [r15]
cmp dword [0x140076394], eax
jle 0x140012184
lea rcx, [0x140076394]
call fcn.140017d80
cmp dword [0x140076394], 0xffffffff
jne 0x140012184
mov rax, qword [0x1400762b8]
mov qword [0x140076328], rax
lea rcx, [0x140076394]
call fcn.140017d20
mov ecx, 0x5a4d
mov rax, qword [0x140076328]
cmp word [rax], cx
jne 0x140012376
mov eax, dword [r15]
cmp dword [0x140076258], eax
jle 0x1400121de
lea rcx, [0x140076258]
call fcn.140017d80
cmp dword [0x140076258], 0xffffffff
jne 0x1400121de
mov rax, qword [0x140076328]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1400762b8]
mov qword [0x140076510], rcx
lea rcx, [0x140076258]
call fcn.140017d20
mov rax, qword [0x140076510]
cmp dword [rax], 0x4550
jne 0x140012376
mov r12d, dword [rax + 0x50]
mov rbx, qword [0x1400762b8]
lea rdi, [rbp - 0x58]
mov esi, 0x10
mov rcx, rdi
call fcn.1400116a0
add rdi, 2
sub rsi, 1
jne 0x140012205
movzx eax, byte [rbp - 0x38]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x20]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x37]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x1f]
mov byte [rbp - 0x55], al
movzx eax, byte [rbp - 0x36]
mov byte [rbp - 0x54], al
movzx eax, byte [rbp - 0x1e]
mov byte [rbp - 0x53], al
movzx eax, byte [rbp - 0x35]
mov byte [rbp - 0x52], al
movzx eax, byte [rbp - 0x1d]
mov byte [rbp - 0x51], al
movzx eax, byte [rbp - 0x34]
mov byte [rbp - 0x50], al
movzx eax, byte [rbp - 0x1c]
mov byte [rbp - 0x4f], al
movzx eax, byte [rbp - 0x33]
mov byte [rbp - 0x4e], al
movzx eax, byte [rbp - 0x1b]
mov byte [rbp - 0x4d], al
movzx eax, byte [rbp - 0x32]
mov byte [rbp - 0x4c], al
movzx eax, byte [rbp - 0x1a]
mov byte [rbp - 0x4b], al
movzx eax, byte [rbp - 0x31]
mov byte [rbp - 0x4a], al
movzx eax, byte [rbp - 0x19]
mov byte [rbp - 0x49], al
movzx eax, byte [rbp - 0x30]
mov byte [rbp - 0x48], al
movzx eax, byte [rbp - 0x18]
mov byte [rbp - 0x47], al
movzx eax, byte [rbp - 0x2f]
mov byte [rbp - 0x46], al
movzx eax, byte [rbp - 0x17]
mov byte [rbp - 0x45], al
movzx eax, byte [rbp - 0x2e]
mov byte [rbp - 0x44], al
movzx eax, byte [rbp - 0x16]
mov byte [rbp - 0x43], al
movzx eax, byte [rbp - 0x2d]
mov byte [rbp - 0x42], al
movzx eax, byte [rbp - 0x15]
mov byte [rbp - 0x41], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x40], al
movzx eax, byte [rbp - 0x14]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x2b]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x13]
mov byte [rbp - 0x3d], al
movzx eax, byte [rbp - 0x2a]
mov byte [rbp - 0x3c], al
movzx eax, byte [rbp - 0x12]
mov byte [rbp - 0x3b], al
movzx eax, byte [rbp - 0x29]
mov byte [rbp - 0x3a], al
movzx eax, byte [rbp - 0x11]
mov byte [rbp - 0x39], al
lea r11, [rbx + r12]
mov rax, r11
cmp r12, 0x10
jb 0x140012349
lea r10, [r11 - 0x10]
nop dword [rax + rax]
mov r8, rbx
lea rcx, [rbp - 0x58]
nop word [rax + rax]
movzx r9d, word [rcx]
movzx edx, r9w
shr dx, 8
cmp dl, 0x3f
je 0x140012336
cmp byte [r8], r9b
jne 0x14001236c
inc r8
add rcx, 2
lea rdx, [rbp - 0x38]
cmp rcx, rdx
jne 0x140012320
mov rax, rbx
mov rcx, r14
cmp rax, r11
cmovne rcx, rax
mov rax, rcx
sub rax, qword [0x1400762b8]
mov qword [0x140076290], rcx
mov dword [0x140076298], eax
jmp 0x140012384
cmp rbx, r10
je 0x140012349
inc rbx
jmp 0x140012310
mov qword [0x140076290], r14
mov dword [0x140076298], r14d
lea rcx, [0x1400764b0]
call fcn.140017d20
mov eax, dword [r15]
cmp dword [0x140076334], eax
jle 0x1400123d0
lea rcx, [0x140076334]
call fcn.140017d80
cmp dword [0x140076334], 0xffffffff
jne 0x1400123d0
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1400763e8], rax
lea rcx, [0x140076334]
call fcn.140017d20
mov rcx, qword [0x140076290]
test rcx, rcx
je 0x1400125e1
mov rdx, qword [0x1400763e8]
test rdx, rdx
je 0x1400125e1
movsxd rax, dword [rcx + 3]
sub rax, rdx
lea r12, [rcx + 7]
add r12, rax
mov eax, dword [r15]
cmp dword [0x1400765e0], eax
jle 0x14001257a
lea rcx, [0x1400765e0]
call fcn.140017d80
cmp dword [0x1400765e0], 0xffffffff
jne 0x14001257a
mov rbx, r14
mov dword [rbp - 0x60], r14d
lea r9, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140012496
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x60]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x60]
mov r8d, dword [rbp - 0x60]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140012450
test eax, eax
js 0x140012556
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140012556
nop word [rax + rax]
mov esi, edi
imul rax, rsi, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400124e0
lea rcx, [rbp - 0x58]
call fcn.140002810
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
lea rdx, str.ntoskrnl.exe
call fcn.140020974
test eax, eax
je 0x14001258b
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14001254c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012547
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012610
call fcn.140017930
inc edi
cmp edi, dword [rbx]
jb 0x1400124b0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x1400763d0], r14
lea rcx, [0x1400765e0]
call fcn.140017d20
mov rax, qword [0x1400763d0]
test rax, rax
je 0x1400125e1
add rax, r12
jmp 0x1400125e3
imul rax, rsi, 0x128
mov r14, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140012567
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400125da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012610
call fcn.140017930
jmp 0x140012567
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140017910
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140020c78
nop
int3