Function at 0x140089670
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x10], edx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xc0
xor eax, eax
mov r15, rcx
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x29], rax
mov edi, eax
mov qword [rbp - 0x51], rax
mov ebx, eax
mov qword [rbp - 0x59], rax
mov esi, eax
mov qword [rbp - 0x31], rax
mov r13d, r9d
mov qword [rbp - 0x39], rax
mov r12, r8
call fcn.14015e330
mov r14d, eax
test eax, eax
jns 0x1400896db
mov ecx, eax
call fcn.140078308
jmp 0x1400898f3
test r12, r12
je 0x140089748
mov eax, dword [rbp + 0x57]
lea rcx, [rbp - 0x29]
mov rdx, qword [rbp - 0x49]
mov r9d, 0x2040
mov dword [rsp + 0x30], eax
mov r8d, 0x30000
and dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
call fcn.14015e574
mov r14d, eax
test eax, eax
js 0x1400896cf
mov r8, qword [rbp + 0x6f]
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x29]
lea r9, [rbp - 0x61]
mov edx, r13d
mov qword [rsp + 0x20], rax
call fcn.14008b624
mov r14d, eax
test eax, eax
jns 0x1400897df
mov ecx, eax
call fcn.140078308
mov rdi, qword [rbp - 0x59]
jmp 0x1400898f3
lea rax, [0x1400236a0]
mov qword [rbp - 0x21], 3
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x21]
lea rax, [rbp - 0x41]
mov dword [rbp - 1], r13d
mov qword [rbp - 0x11], rax
xor r9d, r9d
mov rax, qword [rbp + 0x6f]
mov ecx, 0xb9
mov qword [rbp - 9], rax
lea rax, [rbp - 0x51]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x61]
lea r8d, [r9 + 0x38]
mov qword [rbp + 0xf], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x41]
test r14d, r14d
jns 0x1400897a5
mov ecx, r14d
jmp 0x1400896d1
mov r8d, dword [rbp - 0x61]
lea rcx, [rbp - 0x59]
mov rdx, qword [rbp - 0x51]
call fcn.14008b49c
mov r14d, eax
test eax, eax
js 0x140089738
mov ecx, dword [rbp - 0x61]
xor eax, eax
mov rdi, qword [rbp - 0x51]
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400897df
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x51], rbx
mov eax, dword [rbp - 0x61]
lea rcx, [rbp - 0x31]
mov rdi, qword [rbp - 0x59]
mov r9d, 0x20040
mov rdx, qword [rbp - 0x49]
mov r8d, 0x30001
mov dword [rsp + 0x30], eax
and dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call fcn.14015e574
mov r14d, eax
test eax, eax
js 0x1400896cf
mov eax, dword [rbp + 0x77]
cmp eax, 0xc
ja 0x14008982a
mov r14d, 0x8007000d
jmp 0x14008979d
lea r14d, [rax - 0xc]
mov ecx, 0x40
mov edx, r14d
mov r12d, r14d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x140089852
mov r14d, 0x8007000e
jmp 0x14008979d
mov rdx, qword [rbp + 0x7f]
mov r8, r12
add rdx, 0xc
mov rcx, rbx
call sub.msvcrt.dll_memcpy
mov r10d, r14d
mov r9d, esi
shr r10d, 1
je 0x140089894
mov r8, rbx
mov eax, r14d
sub eax, r9d
inc r9d
dec eax
mov edx, eax
mov cl, byte [rax + rbx]
mov al, byte [r8]
mov byte [rdx + rbx], al
mov byte [r8], cl
inc r8
cmp r9d, r10d
jb 0x140089873
xor ecx, ecx
call fcn.140078324
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x39]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov edx, r14d
call fcn.14008b520
mov r14d, eax
test eax, eax
jns 0x1400898cb
mov ecx, eax
call fcn.140078308
mov rsi, qword [rbp - 0x39]
jmp 0x1400898f3
mov rcx, qword [r15 + 8]
mov r12, qword [rbp - 0x39]
test rcx, rcx
je 0x1400898e9
cmp dword [0x140422760], esi
je 0x1400898e5
call fcn.14017ba20
and qword [r15 + 8], rsi
mov eax, dword [rbp - 0x59]
mov qword [r15 + 8], r12
mov dword [r15], eax
mov ecx, r14d
call fcn.140078324
test rsi, rsi
je 0x140089911
cmp dword [0x140422760], 0
je 0x140089911
mov rcx, rsi
call fcn.14017ba20
test rbx, rbx
je 0x14008991f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x31]
call fcn.1400555e8
test rdi, rdi
je 0x14008993e
cmp dword [0x140422760], 0
je 0x14008993e
mov rcx, rdi
call fcn.14017ba20
lea rcx, [rbp - 0x51]
call fcn.14005a080
lea rcx, [rbp - 0x29]
call fcn.1400555e8
lea rcx, [rbp - 0x49]
call fcn.1400555e8
lea r11, [rsp + 0xc0]
mov eax, r14d
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret