Function at 0x180004cd0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r13, rdx
mov rdi, rcx
xor r12d, r12d
mov esi, r12d
mov dword [rbp + 0x77], r12d
lea r9, [rbp + 0x77]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x180004d66
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x77]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
lea r9, [rbp + 0x77]
mov r8d, dword [rbp + 0x77]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x180004d20
test eax, eax
js 0x180004e35
mov r14d, r12d
cmp dword [rsi], r12d
jbe 0x180004e35
nop word [rax + rax]
mov eax, r14d
imul rcx, rax, 0x128
lea rbx, [rcx + rsi]
movzx eax, word [rbx + 0x2e]
add rax, rcx
lea rdx, [rsi + 0x30]
add rdx, rax
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x27], r12
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180004dc0
lea rcx, [rbp + 0x17]
call fcn.1800017e0
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
mov rdx, rdi
call fcn.18001597c
test eax, eax
je 0x180004e69
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x180004e29
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004e24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000510b
call fcn.18000b108
inc r14d
cmp r14d, dword [rsi]
jb 0x180004d80
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rbx + 0x30]
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180004e90
lea rcx, [rbp - 0x29]
call fcn.1800017e0
nop
lea rcx, str.SYSTEMROOT
call fcn.1800164a8
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180004ed0
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1800017e0
nop
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180004f1c
lea rax, [rcx + 1]
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
cmp rdx, 0x10
cmovae rax, qword [rbp - 9]
mov word [rax + rcx], 0x5c
lea rdi, [rbp - 9]
jmp 0x180004f3d
mov qword [rsp + 0x20], 1
lea r9, [0x180051fb4]
mov edx, 1
lea rcx, [rbp - 9]
call fcn.180009da0
mov rdi, rax
lea r15, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae r15, qword [rbp - 0x29]
mov rax, qword [rbp - 0x19]
cmp rax, 0xc
jb 0x180004fc0
lea r12, [rax + r15]
lea r8, [r12 - 0xb]
sub r8, r15
mov edx, 0x5c
mov rcx, r15
call fcn.18002db20
mov rbx, rax
test rax, rax
je 0x180004fbd
nop word [rax + rax]
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.18002d800
test eax, eax
je 0x1800050fa
inc rbx
lea r8, [r12 - 0xb]
sub r8, rbx
mov edx, 0x5c
mov rcx, rbx
call fcn.18002db20
mov rbx, rax
test rax, rax
jne 0x180004f80
xor r12d, r12d
mov rbx, 0xffffffffffffffff
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x180004fd5
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.180008e10
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x180005025
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005111
call fcn.18000b108
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
mov ecx, r14d
imul rdx, rcx, 0x128
mov rbx, qword [rdx + rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rax, rdi
add rbx, rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1800050ab
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800050a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005117
call fcn.18000b108
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1800050f2
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800050ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005105
call fcn.18000b108
mov rax, rbx
jmp 0x180004e48
sub rbx, r15
xor r12d, r12d
jmp 0x180004fc7
call fcn.1800112d8
int3
call fcn.1800112d8
nop
call fcn.1800112d8
nop
call fcn.1800112d8
int3