Function at 0x140089618
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov rsi, rcx
xor edi, edi
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x18], rdi
mov dword [rbp + 0x20], edi
mov rbx, r8
mov r12d, edx
call fcn.1400712dc
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
call fcn.140071930
mov qword [rbp - 0x80], rdi
mov r14d, edi
mov qword [rbp - 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x1400896a0
mov ecx, 0x80070057
mov edi, ecx
call fcn.140075fa0
jmp 0x140089df5
cmp qword [rbp + 0x110], rdi
je 0x14008968f
lea rdx, [0x140428ddc]
lea rcx, [0x140407398]
call fcn.14006d980
cmp qword [rbp + 0x118], rdi
je 0x14008968f
mov r15, qword [0x14042ae50]
lea rcx, [rbp + 0x18]
lea rdx, [r15 + 8]
call fcn.140083630
cmp qword [rsi + 0x30], rdi
jne 0x1400896ea
mov ebx, 0x80070005
mov edi, ebx
mov ecx, ebx
jmp 0x140089696
cmp qword [rsi + 0x38], rdi
jne 0x14008970c
mov ebx, 0x80070005
lea rdx, [0x140424bf0]
lea rcx, [0x140416c28]
mov edi, ebx
call fcn.14006c890
jmp 0x1400896e6
mov rdx, qword [r15 + 0xd8]
lea r8, [rbp - 0x58]
mov rcx, qword [0x14042aec0]
call fcn.140076fdc
mov edi, eax
test eax, eax
jns 0x140089730
mov ecx, eax
jmp 0x140089696
lea rdx, [rsp + 0x68]
mov dword [rbp + 0x88], r12d
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x80], rbx
call fcn.140077458
xor r12d, r12d
mov edi, eax
test eax, eax
js 0x140089729
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14007e71c
mov edi, eax
test eax, eax
js 0x140089729
mov rax, qword [rsp + 0x68]
lea r8d, [r12 + 0x48]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x20]
lea rax, [0x14001f100]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 0x71]
lea rax, [rbp + 0x100]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x100]
test edi, edi
jns 0x1400897ca
mov ecx, edi
jmp 0x140089696
mov edi, 3
lea rax, [0x140020480]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8d, [rdi + 0x45]
lea rax, [rbp + 0x30]
lea ecx, [r8 + 0x71]
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp qword [rbp - 0x38], r12
jne 0x140089817
mov ecx, 0x8000ffff
jmp 0x140089694
lea rax, [0x140020480]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x48]
lea ecx, [r8 + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rsi + 0x30]
call fcn.140083180
test eax, eax
je 0x1400896df
lea rax, [0x140020140]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea rdx, [0x140429768]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
lea rcx, [0x14040f1f0]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14006cc00
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x48]
lea ecx, [r8 + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
cmp qword [rbp - 0x28], r12
je 0x14008980d
lea rax, [0x140020140]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x48]
lea ecx, [r8 + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
mov rax, qword [rsi + 0x38]
mov r8, qword [rbp - 0x20]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140089910
add rax, 2
test edx, edx
jne 0x1400898fc
test ecx, ecx
jne 0x1400896df
lea rax, [0x1400207c0]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea r8d, [rcx + 0x48]
lea rax, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x30]
lea ecx, [r8 + 0x71]
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp qword [rbp - 0x18], r12
je 0x1400899ab
lea rax, [0x1400207c0]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x48]
lea ecx, [r8 + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
mov rcx, qword [rbp - 0x10]
lea rdx, [rsp + 0x78]
call fcn.140076c68
mov edi, eax
test eax, eax
js 0x140089729
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1400746dc
mov edi, eax
test eax, eax
js 0x140089729
mov rdx, r14
mov qword [rbp + 0xb0], rsi
lea rcx, [rbp + 0x98]
mov qword [rbp + 0xb8], r15
mov qword [rsp + 0x78], r12
call fcn.140073350
lea rdx, [0x1404235c8]
lea rcx, [0x140415e60]
call fcn.14006c510
lea rax, [0x14001c380]
mov r15d, 3
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x90]
mov qword [rsp + 0x38], rax
lea r14d, [r15 + 0x45]
lea rax, [rbp - 0x50]
mov r8d, r14d
lea ecx, [r14 + 0x71]
mov qword [rsp + 0x40], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x78]
test edi, edi
js 0x1400897c3
lea rax, [0x140020e40]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x74]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea ecx, [r14 + 0x71]
lea rax, [rbp + 0x30]
mov r8d, r14d
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x74]
lea rax, [0x140021180]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], rax
lea ecx, [r14 + 0x71]
lea rax, [rbp + 0x30]
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov rax, qword [rbp - 0x50]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea ecx, [r14 + 0x71]
lea rax, [0x14003e240]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x30], rax
mov r8d, r14d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 8]
mov qword [rsp + 0x50], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x70]
test edi, edi
js 0x1400897c3
lea r14d, [r15 + 0x25]
mov ecx, r14d
call fcn.140073e30
mov rdi, rax
test rax, rax
je 0x140089b4c
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140383e9c
mov rcx, rdi
call fcn.140071978
jmp 0x140089b4f
mov rax, r12
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140074420
mov r14, qword [rbp - 0x80]
test r14, r14
jne 0x140089b6e
mov edi, 0x8007000e
jmp 0x1400897c3
xor r9d, r9d
mov qword [rsp + 0x40], rbx
lea rax, [0x14001acc0]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x38], r14
lea ebx, [r9 + 0x48]
mov qword [rsp + 0x30], rax
mov r8d, ebx
lea ecx, [rbx + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x6c]
test edi, edi
js 0x1400897c3
mov rax, qword [rbp - 0x40]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea ecx, [rbx + 0x71]
lea rax, [0x14001b000]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x64]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
mov r8d, ebx
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 1
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp - 0x64]
test edi, edi
js 0x1400897c3
mov r9, qword [rbp - 0x48]
lea edx, [rbx - 0x47]
mov r8d, dword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.14008f6f0
mov edi, eax
test eax, eax
js 0x140089729
lea rax, [0x140020b00]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
lea edi, [rbx + 0x71]
lea rax, [rbp]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov r8d, ebx
mov ecx, edi
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp qword [rbp], r12
je 0x140089cd4
lea rax, [0x140020b00]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov r8d, ebx
lea rax, [rbp + 0x30]
mov ecx, edi
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov rcx, qword [rbp + 8]
lea rdx, [rbp + 0x108]
call fcn.140070278
mov edi, eax
test eax, eax
js 0x140089729
mov ebx, dword [rbp + 0x108]
mov edi, 0xb9
jmp 0x140089cdd
mov ebx, r12d
mov dword [rbp + 0x108], ebx
lea rax, [0x140020b00]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rax
lea rdx, [0x1404288d0]
lea rax, [rbp + 0x10]
lea rcx, [0x140406da4]
mov qword [rsp + 0x30], rax
call fcn.14006d630
xor r9d, r9d
lea rax, [rbp + 0x30]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, rdi
lea r8d, [r9 + 0x48]
call sub.ntdll.dll_NtQuerySystemInformation
mov r9, qword [rbp + 0x10]
lea rcx, [rsp + 0x70]
mov r8d, ebx
mov edx, 2
call fcn.14008f6f0
mov edi, eax
test eax, eax
js 0x140089729
mov r9, qword [rbp + 0xa0]
test r9, r9
je 0x140089d7c
lea rdx, [rbp + 0x108]
mov rcx, r9
call fcn.140070278
mov edi, eax
test eax, eax
js 0x140089729
mov r9, qword [rbp + 0xa0]
mov r8d, dword [rbp + 0x108]
jmp 0x140089d7f
mov r8d, r12d
mov edx, r15d
lea rcx, [rsp + 0x70]
call fcn.14008f6f0
mov edi, eax
test eax, eax
js 0x140089729
mov r8, qword [rbp + 0x110]
lea rcx, [rsp + 0x70]
mov rdx, qword [rbp + 0x118]
call fcn.14008efe0
mov edi, eax
test eax, eax
js 0x140089729
lea rcx, [r14 + 8]
call fcn.1400732d8
mov rcx, qword [rbp + 0xa8]
lea rdx, [r14 + 8]
call fcn.140076b04
mov edi, eax
test eax, eax
js 0x140089729
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140089ded
call fcn.140085d3c
mov qword [rsi + 0x28], r12
mov qword [rbp - 0x80], r12
mov qword [rsi + 0x28], r14
mov ecx, edi
call fcn.140083bac
lea rcx, [rsp + 0x78]
call fcn.140072cc8
lea rcx, [rsp + 0x68]
call fcn.1401c20b8
lea rcx, [rbp - 0x58]
call fcn.140072580
lea rcx, [rbp - 0x80]
call fcn.140072488
lea rcx, [rbp + 0x90]
call fcn.140072a28
lea rcx, [rbp - 0x50]
call fcn.140072510
lea rcx, [rbp - 0x48]
call fcn.1400725c0
lea rcx, [rbp - 0x40]
call fcn.140093fdc
lea rcx, [rsp + 0x70]
call fcn.1400aa1ac
lea rcx, [rbp + 0x30]
call fcn.140072158
lea rcx, [rbp + 0x18]
call fcn.140072004
lea r11, [rsp + 0x1c0]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret