Function at 0x1401a7734
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, [rsp - 0x50]
sub rsp, 0x150
mov r10, qword [rbp + 0xb0]
xor r12d, r12d
mov dword [rsp + 0x78], r12d
mov ebx, r12d
mov dword [rsp + 0x28], ebx
mov r15d, r8d
mov dword [rbp - 0x78], r12d
mov r14, rcx
test r10, r10
jne 0x1401a778f
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x1401a7bd7
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401a7bd5
test r15d, r15d
je 0x1401a7bd5
mov rcx, qword [rcx]
mov edx, dword [rcx + 4]
sub edx, 1
je 0x1401a77c5
cmp edx, 1
je 0x1401a77be
mov edi, r12d
jmp 0x1401a77ca
mov edi, 1
jmp 0x1401a77ca
mov edi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, dword [r14 + 0x38]
mov dword [rsp + 0x2c], edi
lea eax, [r8 + r15]
cmp eax, r15d
jae 0x1401a77e2
mov ebx, 0xc004d107
jmp 0x1401a7788
xor edx, edx
div edi
mov r13d, eax
mov dword [rsp + 0x34], eax
imul r13d, edi
mov r11d, eax
mov dword [rsp + 0x24], r13d
cmp dword [r10], r13d
jb 0x1401a7bbb
mov rax, qword [r9]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x1401a7bbb
cmp r13d, edi
jae 0x1401a7820
test r13d, r13d
jne 0x1401a7bbb
lea rsi, [r14 + 0x10]
movzx ecx, byte [rsi + 0x27]
test ecx, ecx
je 0x1401a783d
cmp ecx, 1
je 0x1401a7838
mov qword [rsp + 0x70], r12
jmp 0x1401a784a
mov rax, qword [rsi]
jmp 0x1401a7840
mov rax, rsi
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1401a7856
mov r10, qword [0x1404524a8]
mov rax, r12
jmp 0x1401a7865
mov r10, qword [0x1404524a8]
mov eax, dword [r10]
lea rax, [rsp + rax + 0x70]
lea rdx, [r14 + 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 - 0x60], rdx
test ecx, ecx
je 0x1401a789a
cmp ecx, 1
je 0x1401a7895
mov qword [rbp - 0x80], r12
jmp 0x1401a78a6
mov rax, qword [rdx]
jmp 0x1401a789d
mov rax, rdx
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x1401a78ab
mov rax, r12
jmp 0x1401a78b3
mov eax, dword [r10]
lea rax, [rbp + rax - 0x80]
mov qword [rsp + 0x40], rax
mov ecx, r12d
mov dword [rsp + 0x48], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x30], ecx
cmp r8d, edi
jae 0x1401a7943
mov rbx, qword [rsp + 0x58]
mov r13, qword [rbp + 0x98]
cmp r12d, r15d
jae 0x1401a792c
mov edx, dword [r13 + 8]
lea r8, [rsp + 0x20]
add edx, r12d
mov rcx, rbx
call fcn.14018f20c
mov dl, byte [rsp + 0x20]
movzx ecx, byte [rsi + 0x27]
xor dl, byte [rax]
test ecx, ecx
je 0x1401a7915
cmp ecx, 1
je 0x1401a7910
xor ecx, ecx
jmp 0x1401a7918
mov rcx, qword [rsi]
jmp 0x1401a7918
mov rcx, rsi
mov eax, dword [r14 + 0x38]
inc r12d
mov byte [rcx + rax], dl
inc dword [r14 + 0x38]
cmp dword [r14 + 0x38], edi
jb 0x1401a78e0
mov ebx, dword [rsp + 0x28]
mov ecx, ebx
mov r13d, dword [rsp + 0x24]
mov r9, qword [rbp + 0xa8]
mov r11d, dword [rsp + 0x34]
sub r15d, r12d
sub r15d, r13d
add dword [r14 + 0x38], r15d
xor r15d, r15d
mov dword [rsp + 0x24], r15d
test r11d, r11d
je 0x1401a7b09
mov eax, dword [r9 + 8]
sub eax, r12d
mov dword [rsp + 0x28], eax
test edi, edi
je 0x1401a79f5
mov r14d, dword [rsp + 0x68]
xor r13d, r13d
mov r15d, dword [rsp + 0x48]
sub r14d, r15d
mov eax, edi
mov edi, eax
mov rcx, qword [rsp + 0x60]
lea edx, [r14 + r15]
lea r8, [rsp + 0x20]
call fcn.14018f20c
mov bl, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov rcx, qword [rsp + 0x40]
mov edx, r15d
xor bl, byte [rax]
call fcn.14018f20c
mov dl, byte [rsp + 0x21]
movzx ecx, byte [rsi + 0x27]
xor dl, bl
xor dl, byte [rax]
test ecx, ecx
je 0x1401a79ce
cmp ecx, 1
je 0x1401a79c9
xor eax, eax
jmp 0x1401a79d1
mov rax, qword [rsi]
jmp 0x1401a79d1
mov rax, rsi
mov byte [rax + r13], dl
inc r15d
inc r13
sub rdi, 1
jne 0x1401a7985
mov edi, dword [rsp + 0x2c]
mov r14, qword [rbp + 0x90]
mov r15d, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rbp - 0x68]
add eax, r12d
mov rdx, qword [r14]
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
test ecx, ecx
je 0x1401a7a2a
cmp ecx, 1
je 0x1401a7a25
xor eax, eax
jmp 0x1401a7a2d
mov rax, qword [rsi]
jmp 0x1401a7a2d
mov rax, rsi
and dword [rbp - 0x50], 0
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1401a7a48
mov rax, qword [0x1404524a8]
mov eax, dword [rax]
lea rax, [rbp + rax - 0x58]
and dword [rbp - 0x28], 0
xor r9d, r9d
mov qword [rbp - 0x30], rax
lea rax, [0x140054e1c]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x54]
mov qword [rbp], rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0x14], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp + 0x40]
movdqa xmmword [rbp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x30]
lea ecx, [r8 + 0x79]
mov qword [rbp + 0x20], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 8], rdx
lea rdx, [rbp - 0x10]
mov qword [rbp + 0x28], rax
movdqa xmmword [rbp + 0x30], xmm0
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 0x1401a7788
mov rax, qword [rbp + 0x98]
inc r15d
mov dword [rsp + 0x24], r15d
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
add ecx, r12d
mov dword [rbp - 0x18], ecx
add r12d, edi
mov ecx, dword [rsp + 0x30]
add ecx, edi
mov qword [rbp - 0x20], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ecx
cmp r15d, dword [rsp + 0x34]
jae 0x1401a7b09
mov eax, dword [rsp + 0x28]
jmp 0x1401a7969
mov rax, qword [rbp + 0xb0]
xor r15d, r15d
mov dword [rax], ecx
cmp dword [r14 + 0x38], r15d
jbe 0x1401a7b63
mov r12d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea edx, [r12 + r15]
lea r8, [rbp + 0xb0]
call fcn.14018f20c
movzx ecx, byte [rsi + 0x27]
mov dl, byte [rax]
xor dl, byte [rbp + 0xb0]
test ecx, ecx
je 0x1401a7b53
cmp ecx, 1
je 0x1401a7b4e
xor ecx, ecx
jmp 0x1401a7b56
mov rcx, qword [rsi]
jmp 0x1401a7b56
mov rcx, rsi
mov byte [r15 + rcx], dl
inc r15d
cmp r15d, dword [r14 + 0x38]
jb 0x1401a7b20
xor esi, esi
test edi, edi
je 0x1401a7bdc
mov r12d, dword [rsp + 0x48]
xor r14d, r14d
mov r15, qword [rbp - 0x60]
mov rcx, qword [rsp + 0x40]
lea edx, [r12 + rsi]
lea r8, [rbp + 0xb0]
call fcn.14018f20c
movzx ecx, byte [r15 + 0x17]
mov dl, byte [rax]
xor dl, byte [rbp + 0xb0]
test ecx, ecx
je 0x1401a7ba9
cmp ecx, 1
je 0x1401a7ba4
xor eax, eax
jmp 0x1401a7bac
mov rax, qword [r15]
jmp 0x1401a7bac
mov rax, r15
mov byte [rax + r14], dl
inc esi
inc r14
cmp esi, edi
jb 0x1401a7b75
jmp 0x1401a7bdc
mov rax, qword [r9]
neg rax
mov dword [r10], r13d
sbb ecx, ecx
and ecx, 0xc004d107
mov ebx, ecx
cmp qword [r9], r12
je 0x1401a7bdc
jmp 0x1401a7bd7
xor ecx, ecx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret