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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x140
mov r10, qword [rbp + 0xa0]
xor r12d, r12d
mov dword [rbp - 0x70], r12d
mov ebx, r12d
mov dword [rsp + 0x28], ebx
mov r14d, r8d
mov dword [rbp - 0x60], r12d
mov r15, rcx
test r10, r10
jne 0x14019a145
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x14019a545
mov rax, qword [rdx]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14019a543
test r14d, r14d
je 0x14019a543
mov rcx, qword [rcx]
mov edx, dword [rcx + 4]
sub edx, 1
je 0x14019a17b
cmp edx, 1
je 0x14019a174
mov edi, r12d
jmp 0x14019a180
mov edi, 1
jmp 0x14019a180
mov edi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, dword [r15 + 0x38]
lea eax, [r8 + r14]
cmp eax, r14d
jae 0x14019a194
mov ebx, 0xc004d107
jmp 0x14019a13e
xor edx, edx
div edi
mov r13d, eax
mov dword [rsp + 0x30], eax
imul r13d, edi
mov r11d, eax
mov dword [rsp + 0x24], r13d
cmp dword [r10], r13d
jb 0x14019a529
mov rax, qword [r9]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14019a529
cmp r13d, edi
jae 0x14019a1d3
test r13d, r13d
jne 0x14019a529
lea rsi, [r15 + 0x10]
movzx ecx, byte [rsi + 0x27]
test ecx, ecx
je 0x14019a1ee
cmp ecx, 1
je 0x14019a1e9
mov rax, r12
jmp 0x14019a1f1
mov rax, qword [rsi]
jmp 0x14019a1f1
mov rax, rsi
mov r10, qword [0x140440198]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x14019a206
mov rax, r12
jmp 0x14019a20e
mov eax, dword [r10]
lea rax, [rbp + rax - 0x78]
lea rdx, [r15 + 0x40]
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x17]
mov dword [rsp + 0x48], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x80], rdx
test ecx, ecx
je 0x14019a242
cmp ecx, 1
je 0x14019a23d
mov rax, r12
jmp 0x14019a245
mov rax, qword [rdx]
jmp 0x14019a245
mov rax, rdx
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x14019a253
mov rax, r12
jmp 0x14019a25b
mov eax, dword [r10]
lea rax, [rbp + rax - 0x68]
mov qword [rsp + 0x40], rax
mov eax, r12d
mov dword [rsp + 0x48], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x2c], eax
cmp r8d, edi
jae 0x14019a2e2
mov rbx, qword [rsp + 0x70]
mov r13, qword [rbp + 0x88]
cmp r12d, r14d
jae 0x14019a2cb
mov edx, dword [r13 + 8]
mov rcx, rbx
add edx, r12d
call fcn.140183d24
movzx ecx, byte [rsi + 0x27]
mov dl, al
test ecx, ecx
je 0x14019a2b4
cmp ecx, 1
je 0x14019a2af
xor ecx, ecx
jmp 0x14019a2b7
mov rcx, qword [rsi]
jmp 0x14019a2b7
mov rcx, rsi
mov eax, dword [r15 + 0x38]
inc r12d
mov byte [rax + rcx], dl
inc dword [r15 + 0x38]
cmp dword [r15 + 0x38], edi
jb 0x14019a288
mov ebx, dword [rsp + 0x28]
mov eax, ebx
mov r13d, dword [rsp + 0x24]
mov r9, qword [rbp + 0x98]
mov r11d, dword [rsp + 0x30]
sub r14d, r12d
sub r14d, r13d
add dword [r15 + 0x38], r14d
xor r14d, r14d
mov dword [rsp + 0x24], r14d
test r11d, r11d
je 0x14019a491
mov eax, dword [r9 + 8]
sub eax, r12d
mov dword [rsp + 0x28], eax
test edi, edi
je 0x14019a37a
mov r14d, dword [rsp + 0x68]
xor r13d, r13d
mov ebx, dword [rsp + 0x48]
sub r14d, ebx
mov r15d, edi
mov rcx, qword [rsp + 0x60]
lea edx, [r14 + rbx]
call fcn.140183d24
mov rcx, qword [rsp + 0x40]
mov edx, ebx
mov byte [rsp + 0x20], al
call fcn.140183d24
movzx ecx, byte [rsi + 0x27]
mov dl, al
test ecx, ecx
je 0x14019a354
cmp ecx, 1
je 0x14019a34f
xor ecx, ecx
jmp 0x14019a357
mov rcx, qword [rsi]
jmp 0x14019a357
mov rcx, rsi
xor dl, byte [rsp + 0x20]
inc ebx
mov byte [rcx + r13], dl
inc r13
sub r15, 1
jne 0x14019a31e
mov r15, qword [rbp + 0x80]
mov r14d, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add eax, r12d
mov qword [rbp - 0x40], rcx
movzx ecx, byte [rsi + 0x27]
mov dword [rbp - 0x38], eax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], edi
movdqa xmmword [rsp + 0x60], xmm0
test ecx, ecx
je 0x14019a3b3
cmp ecx, 1
je 0x14019a3ae
xor eax, eax
jmp 0x14019a3b6
mov rax, qword [rsi]
jmp 0x14019a3b6
mov rax, rsi
and dword [rbp - 0x50], 0
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14019a3d1
mov rax, qword [0x140440198]
mov eax, dword [rax]
lea rax, [rbp + rax - 0x58]
and dword [rbp - 0x28], 0
lea rdx, [rbp - 0x10]
mov qword [rbp - 0x30], rax
xor r9d, r9d
movaps xmm0, xmmword [rbp - 0x30]
lea rax, [0x140040b58]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x54]
mov qword [rbp], rax
mov rax, qword [r15]
lea r8d, [r9 + 0x40]
mov qword [rbp + 8], rax
lea ecx, [r8 + 0x79]
lea rax, [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x14], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x20], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x10], 3
mov dword [rbp + 0x10], 0x80
mov dword [rbp + 0x1c], edi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rsp + 0x54]
test ebx, ebx
js 0x14019a13e
mov rax, qword [rbp + 0x88]
inc r14d
mov dword [rsp + 0x24], r14d
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x70]
add ecx, r12d
mov qword [rbp - 0x20], rax
add r12d, edi
mov eax, dword [rsp + 0x2c]
add eax, edi
mov dword [rbp - 0x18], ecx
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x2c], eax
cmp r14d, dword [rsp + 0x30]
jae 0x14019a491
mov eax, dword [rsp + 0x28]
jmp 0x14019a308
mov rcx, qword [rbp + 0xa0]
xor r14d, r14d
mov dword [rcx], eax
cmp dword [r15 + 0x38], r14d
jbe 0x14019a4dc
mov r12d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea edx, [r12 + r14]
call fcn.140183d24
movzx ecx, byte [rsi + 0x27]
test ecx, ecx
je 0x14019a4cc
cmp ecx, 1
je 0x14019a4c7
xor ecx, ecx
jmp 0x14019a4cf
mov rcx, qword [rsi]
jmp 0x14019a4cf
mov rcx, rsi
mov byte [r14 + rcx], al
inc r14d
cmp r14d, dword [r15 + 0x38]
jb 0x14019a4a8
xor esi, esi
test edi, edi
je 0x14019a54a
mov r15d, dword [rsp + 0x48]
xor r14d, r14d
mov r12, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
lea edx, [r15 + rsi]
call fcn.140183d24
movzx ecx, byte [r12 + 0x17]
mov dl, al
test ecx, ecx
je 0x14019a517
cmp ecx, 1
je 0x14019a511
xor eax, eax
jmp 0x14019a51a
mov rax, qword [r12]
jmp 0x14019a51a
mov rax, r12
mov byte [r14 + rax], dl
inc esi
inc r14
cmp esi, edi
jb 0x14019a4ee
jmp 0x14019a54a
mov rax, qword [r9]
neg rax
mov dword [r10], r13d
sbb ecx, ecx
and ecx, 0xc004d107
mov ebx, ecx
cmp qword [r9], r12
je 0x14019a54a
jmp 0x14019a545
xor ecx, ecx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret