Function at 0x1400050e0
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 [0x140024040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15d, 4
mov rax, qword gs:[0x58]
add r15, qword [rax]
xor esi, esi
mov eax, dword [r15]
cmp dword [0x140029588], eax
jle 0x1400052a4
lea rcx, [0x140029588]
call fcn.140010760
cmp dword [0x140029588], 0xffffffff
jne 0x1400052a4
mov ebx, esi
mov dword [rbp - 0x29], esi
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400051b6
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x29]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x29]
mov r8d, dword [rbp - 0x29]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140005170
test eax, eax
js 0x14000527d
mov edi, esi
cmp dword [rbx], esi
jbe 0x14000527d
nop dword [rax + rax]
mov eax, edi
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 + 0x1f], xmm0
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x37], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140005202
lea rcx, [rbp + 0x1f]
call fcn.140002750
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
lea rdx, [0x1400129f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400057f6
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140005273
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000526e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005841
call fcn.140010400
inc edi
cmp edi, dword [rbx]
jb 0x1400051d0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, rsi
mov qword [0x140029688], rdi
lea rcx, [0x140029588]
call fcn.1400106f4
movups xmm0, xmmword [0x140012a00]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140012a10]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [str.xxxxxx________xxxxx________xxxx]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x140012a30]
movups xmmword [rbp + 0x1f], xmm1
mov eax, dword [r15]
cmp dword [0x14002958c], eax
jle 0x140005316
lea rcx, [0x14002958c]
call fcn.140010760
cmp dword [0x14002958c], 0xffffffff
jne 0x140005316
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400129f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140029660], rax
lea rcx, [0x14002958c]
call fcn.1400106f4
mov eax, dword [r15]
cmp dword [0x14002969c], eax
jle 0x140005350
lea rcx, [0x14002969c]
call fcn.140010760
cmp dword [0x14002969c], 0xffffffff
jne 0x140005350
mov rax, qword [0x140029660]
mov qword [0x1400295a8], rax
lea rcx, [0x14002969c]
call fcn.1400106f4
mov ecx, 0x5a4d
mov rax, qword [0x1400295a8]
cmp word [rax], cx
jne 0x14000585f
mov eax, dword [r15]
cmp dword [0x140029668], eax
jle 0x1400053aa
lea rcx, [0x140029668]
call fcn.140010760
cmp dword [0x140029668], 0xffffffff
jne 0x1400053aa
mov rax, qword [0x1400295a8]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140029660]
mov qword [0x140029650], rdx
lea rcx, [0x140029668]
call fcn.1400106f4
mov rax, qword [0x140029650]
cmp dword [rax], 0x4550
jne 0x14000585f
mov rdi, qword [0x140029660]
mov ecx, dword [rax + 0x50]
movups xmm1, xmmword [rbp - 0x59]
movd eax, xmm1
mov byte [rbp - 0x21], al
movups xmm2, xmmword [rbp - 0x49]
movd eax, xmm2
mov byte [rbp - 0x20], al
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x1f], al
movdqa xmm0, xmm2
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x1e], al
movdqa xmm0, xmm1
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp - 0x1d], al
movdqa xmm0, xmm2
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp - 0x1c], al
movdqa xmm0, xmm1
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp - 0x1b], al
movdqa xmm0, xmm2
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp - 0x1a], al
movdqa xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp - 0x19], al
movdqa xmm0, xmm2
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp - 0x18], al
movdqa xmm0, xmm1
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp - 0x17], al
movdqa xmm0, xmm2
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp - 0x16], al
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
mov byte [rbp - 0x15], al
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
mov byte [rbp - 0x14], al
movdqa xmm0, xmm1
psrldq xmm0, 7
movd eax, xmm0
mov byte [rbp - 0x13], al
movdqa xmm0, xmm2
psrldq xmm0, 7
movd eax, xmm0
mov byte [rbp - 0x12], al
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp - 0x11], al
movdqa xmm0, xmm2
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp - 0x10], al
movdqa xmm0, xmm1
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp - 0xf], al
movdqa xmm0, xmm2
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp - 0xe], al
movdqa xmm0, xmm1
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp - 0xd], al
movdqa xmm0, xmm2
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp - 0xc], al
movdqa xmm0, xmm1
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp - 0xb], al
movdqa xmm0, xmm2
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp - 0xa], al
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp - 9], al
movdqa xmm0, xmm2
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp - 8], al
movdqa xmm0, xmm1
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp - 7], al
movdqa xmm0, xmm2
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp - 6], al
movdqa xmm0, xmm1
psrldq xmm0, 0xe
movd eax, xmm0
mov byte [rbp - 5], al
movdqa xmm0, xmm2
psrldq xmm0, 0xe
movd eax, xmm0
mov byte [rbp - 4], al
psrldq xmm1, 0xf
movd eax, xmm1
mov byte [rbp - 3], al
psrldq xmm2, 0xf
movd eax, xmm2
mov byte [rbp - 2], al
movups xmm1, xmmword [rbp - 0x39]
movd eax, xmm1
mov byte [rbp - 1], al
movups xmm2, xmmword [rbp + 0x1f]
movd eax, xmm2
mov byte [rbp], al
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp + 1], al
movdqa xmm0, xmm2
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp + 2], al
movdqa xmm0, xmm1
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp + 3], al
movdqa xmm0, xmm2
psrldq xmm0, 2
movd eax, xmm0
mov byte [rbp + 4], al
movdqa xmm0, xmm1
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp + 5], al
movdqa xmm0, xmm2
psrldq xmm0, 3
movd eax, xmm0
mov byte [rbp + 6], al
movdqa xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp + 7], al
movdqa xmm0, xmm2
psrldq xmm0, 4
movd eax, xmm0
mov byte [rbp + 8], al
movdqa xmm0, xmm1
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp + 9], al
movdqa xmm0, xmm2
psrldq xmm0, 5
movd eax, xmm0
mov byte [rbp + 0xa], al
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
mov byte [rbp + 0xb], 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 + 0xd], al
movdqa xmm0, xmm2
psrldq xmm0, 7
movd eax, xmm0
mov byte [rbp + 0xe], al
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp + 0xf], al
movdqa xmm0, xmm2
psrldq xmm0, 8
movd eax, xmm0
mov byte [rbp + 0x10], al
movdqa xmm0, xmm1
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp + 0x11], al
movdqa xmm0, xmm2
psrldq xmm0, 9
movd eax, xmm0
mov byte [rbp + 0x12], al
movdqa xmm0, xmm1
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp + 0x13], al
movdqa xmm0, xmm2
psrldq xmm0, 0xa
movd eax, xmm0
mov byte [rbp + 0x14], al
movdqa xmm0, xmm1
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp + 0x15], al
movdqa xmm0, xmm2
psrldq xmm0, 0xb
movd eax, xmm0
mov byte [rbp + 0x16], al
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp + 0x17], al
movdqa xmm0, xmm2
psrldq xmm0, 0xc
movd eax, xmm0
mov byte [rbp + 0x18], al
movdqa xmm0, xmm1
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp + 0x19], al
movdqa xmm0, xmm2
psrldq xmm0, 0xd
movd eax, xmm0
mov byte [rbp + 0x1a], al
psrldq xmm1, 0xe
movd eax, xmm1
mov byte [rbp + 0x1b], al
psrldq xmm2, 0xe
movd eax, xmm2
mov byte [rbp + 0x1c], al
lea rbx, [rcx + rdi]
mov rax, rbx
cmp rcx, 0x1f
jb 0x1400057dd
lea r11, [rbx - 0x1f]
mov r10, rdi
nop word [rax + rax]
mov r8, r10
lea rcx, [rbp - 0x21]
nop word [rax + rax]
movzx r9d, word [rcx]
movzx edx, r9w
shr dx, 8
cmp dl, 0x3f
je 0x1400057ca
cmp byte [r8], r9b
jne 0x140005852
inc r8
add rcx, 2
lea rdx, [rbp + 0x1d]
cmp rcx, rdx
jne 0x1400057b0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov eax, esi
sub eax, edi
test rsi, rsi
je 0x14000585f
add rax, qword [0x140029688]
jmp 0x140005861
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 + 0x37]
cmp rdx, 0xf
jbe 0x140005291
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005848
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
jmp 0x140005291
cmp r10, r11
je 0x1400057dd
inc r10
jmp 0x1400057a0
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400103e0
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