Function at 0x14008cea0
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
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400ecbc0]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x1400a9bc0]
movups xmmword [rbp - 0x41], xmm0
movsd xmm0, qword [0x1400a9bd0]
movsd qword [rbp - 0x49], xmm0
movups xmm1, xmmword [str.xxx____x____xxx____xxxx]
movups xmmword [rbp - 0x31], xmm1
movsd xmm0, qword [0x1400a9be8]
movsd qword [rbp + 0x27], xmm0
mov ecx, dword [0x1400eff48]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
xor edi, edi
mov eax, dword [rbx]
cmp dword [0x1400efd68], eax
jg 0x14008d05c
mov eax, dword [rbx]
cmp dword [0x1400efd78], eax
jg 0x14008d462
mov rcx, qword [0x1400efd58]
test rcx, rcx
je 0x14008cf8c
mov rdx, qword [0x1400efd70]
test rdx, rdx
je 0x14008cf8c
movsxd r15, dword [rcx + 3]
sub r15, rdx
add r15, 7
add r15, rcx
mov eax, dword [rbx]
cmp dword [0x1400efd88], eax
jg 0x14008d4a0
mov rax, qword [0x1400efd80]
test rax, rax
je 0x14008cf8c
add rax, r15
jmp 0x14008cf8e
inc r8
cmp byte [rdx + r8], 0
je 0x14008cfc2
jmp 0x14008cf80
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14008f670
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008f3e4
nop
jmp 0x14008d044
lea rcx, [rbp + 0x17]
call fcn.14001ea80
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
lea rdx, [0x1400a2b88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14008d577
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14008d029
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d5ca
call fcn.14008f3e4
inc esi
cmp esi, dword [rbx]
jb 0x14008d540
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x1400efd80], rdi
lea rcx, [0x1400efd88]
call fcn.14008f90c
jmp 0x14008cf6b
lea rcx, [0x1400efd68]
call fcn.14008f978
cmp dword [0x1400efd68], 0xffffffff
jne 0x14008cf29
mov eax, dword [rbx]
cmp dword [0x1400efe68], eax
jle 0x14008d0bc
lea rcx, [0x1400efe68]
call fcn.14008f978
cmp dword [0x1400efe68], 0xffffffff
jne 0x14008d0bc
xor edx, edx
mov r8d, 1
lea rcx, [0x1400a2b88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400efe60], rax
lea rcx, [0x1400efe68]
call fcn.14008f90c
mov eax, dword [rbx]
cmp dword [0x1400efe78], eax
jle 0x14008d0f5
lea rcx, [0x1400efe78]
call fcn.14008f978
cmp dword [0x1400efe78], 0xffffffff
jne 0x14008d0f5
mov rax, qword [0x1400efe60]
mov qword [0x1400efe70], rax
lea rcx, [0x1400efe78]
call fcn.14008f90c
mov ecx, 0x5a4d
mov rax, qword [0x1400efe70]
cmp word [rax], cx
jne 0x14008d444
mov eax, dword [rbx]
cmp dword [0x1400efe88], eax
jle 0x14008d14e
lea rcx, [0x1400efe88]
call fcn.14008f978
cmp dword [0x1400efe88], 0xffffffff
jne 0x14008d14e
mov rax, qword [0x1400efe70]
movsxd rcx, dword [rax + 0x3c]
add rcx, qword [0x1400efe60]
mov qword [0x1400efe80], rcx
lea rcx, [0x1400efe88]
call fcn.14008f90c
mov rax, qword [0x1400efe80]
cmp dword [rax], 0x4550
jne 0x14008d444
mov ecx, dword [rax + 0x50]
mov rsi, qword [0x1400efe60]
movups xmm1, xmmword [rbp - 0x41]
movd eax, xmm1
mov byte [rbp - 0x19], al
movups xmm2, xmmword [rbp - 0x31]
movd eax, xmm2
mov byte [rbp - 0x18], al
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x17], al
movdqa xmm0, xmm2
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x16], al
movdqa xmm0, xmm1
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp - 0x15], al
movdqa xmm0, xmm2
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp - 0x14], al
movdqa xmm0, xmm1
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp - 0x13], al
movdqa xmm0, xmm2
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp - 0x12], al
movdqa xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp - 0x11], al
movdqa xmm0, xmm2
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp - 0x10], al
movdqa xmm0, xmm1
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp - 0xf], al
movdqa xmm0, xmm2
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp - 0xe], al
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
mov byte [rbp - 0xd], al
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
mov byte [rbp - 0xc], al
movdqa xmm0, xmm1
psrldq xmm0, 7
movd eax, xmm0
mov byte [rbp - 0xb], al
movdqa xmm0, xmm2
psrldq xmm0, 7
movd eax, xmm0
mov byte [rbp - 0xa], al
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp - 9], al
movdqa xmm0, xmm2
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp - 8], al
movdqa xmm0, xmm1
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp - 7], al
movdqa xmm0, xmm2
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp - 6], al
movdqa xmm0, xmm1
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp - 5], al
movdqa xmm0, xmm2
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp - 4], al
movdqa xmm0, xmm1
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp - 3], al
movdqa xmm0, xmm2
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp - 2], al
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp - 1], al
movdqa xmm0, xmm2
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp], al
movdqa xmm0, xmm1
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp + 1], al
movdqa xmm0, xmm2
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp + 2], al
movdqa xmm0, xmm1
psrldq xmm0, 0xe
movd eax, xmm0
mov byte [rbp + 3], al
movdqa xmm0, xmm2
psrldq xmm0, 0xe
movd eax, xmm0
mov byte [rbp + 4], al
psrldq xmm1, 0xf
movd eax, xmm1
mov byte [rbp + 5], al
psrldq xmm2, 0xf
movd eax, xmm2
mov byte [rbp + 6], al
movzx eax, byte [rbp - 0x49]
mov byte [rbp + 7], al
movzx eax, byte [rbp + 0x27]
mov byte [rbp + 8], al
movzx eax, byte [rbp - 0x48]
mov byte [rbp + 9], al
movzx eax, byte [rbp + 0x28]
mov byte [rbp + 0xa], al
movzx eax, byte [rbp - 0x47]
mov byte [rbp + 0xb], al
movzx eax, byte [rbp + 0x29]
mov byte [rbp + 0xc], al
movzx eax, byte [rbp - 0x46]
mov byte [rbp + 0xd], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0xe], al
movzx eax, byte [rbp - 0x45]
mov byte [rbp + 0xf], al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x10], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp + 0x11], al
movzx eax, byte [rbp + 0x2c]
mov byte [rbp + 0x12], al
movzx eax, byte [rbp - 0x43]
mov byte [rbp + 0x13], al
movzx eax, byte [rbp + 0x2d]
mov byte [rbp + 0x14], al
lea r10, [rsi + rcx]
mov rax, r10
cmp rcx, 0x17
jb 0x14008d409
lea r11, [r10 - 0x17]
mov r9, rsi
nop
mov rdx, r9
lea rax, [rbp - 0x19]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x14008d3f6
cmp byte [rdx], r8b
jne 0x14008d437
inc rdx
add rax, 2
lea rcx, [rbp + 0x15]
cmp rax, rcx
jne 0x14008d3e0
mov rax, r9
mov rcx, rdi
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
sub rax, rsi
mov qword [0x1400efd58], rcx
mov dword [0x1400efd60], eax
lea rcx, [0x1400efd68]
call fcn.14008f90c
jmp 0x14008cf29
mov rax, r10
cmp r9, r11
je 0x14008d409
inc r9
jmp 0x14008d3d0
mov qword [0x1400efd58], rdi
mov dword [0x1400efd60], edi
lea rcx, [0x1400efd68]
call fcn.14008f90c
jmp 0x14008cf29
lea rcx, [0x1400efd78]
call fcn.14008f978
cmp dword [0x1400efd78], 0xffffffff
jne 0x14008cf37
lea rcx, [0x1400a2b88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1400efd70], rax
lea rcx, [0x1400efd78]
call fcn.14008f90c
jmp 0x14008cf37
lea rcx, [0x1400efd88]
call fcn.14008f978
cmp dword [0x1400efd88], 0xffffffff
jne 0x14008cf6b
mov rbx, rdi
mov dword [rbp - 0x21], edi
lea r9, [rbp - 0x21]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14008d527
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x21]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x21]
mov r8d, dword [rbp - 0x21]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14008d4e0
test eax, eax
js 0x14008d033
mov esi, edi
cmp dword [rbx], edi
jbe 0x14008d033
nop dword [rax]
mov eax, esi
imul rcx, rax, 0x128
lea r14, [rcx + rbx]
movzx edx, word [r14 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rdi
mov r8, 0xffffffffffffffff
jmp 0x14008cf80
mov rdi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14008d044
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cfb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cfb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3