Function at 0x140023a5c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov qword [rax + 0x10], rdx
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
lea rbx, [rcx + 0x10]
mov rdi, rcx
mov rcx, rbx
call fcn.14000417c
lea rcx, [rbp - 0x80]
xor r14d, r14d
mov byte [rdi + 0x48], r14b
mov dword [rbp - 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp - 0x7c]
lea rdx, [rbp - 0x6c]
mov rcx, rbx
mov dword [rdi], eax
mov eax, dword [rbp - 0x78]
mov dword [rdi + 4], eax
mov eax, dword [rbp - 0x74]
mov dword [rdi + 8], eax
call fcn.140014014
mov rcx, rbx
call fcn.140023cdc
lea rdx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
call fcn.140023c70
mov ecx, dword [rdi]
mov word [rdi + 0x43], r14w
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov word [rdi + 0x40], r14w
mov byte [rdi + 0x42], r14b
sub ecx, 5
je 0x140085b77
dec ecx
jne 0x140023b42
mov eax, dword [rdi + 4]
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
test eax, eax
je 0x140085ada
cmp eax, 1
je 0x140085afd
cmp eax, 2
jne 0x140085b37
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x3b], 1
mov byte [rdi + 0x39], 1
mov byte [rdi + 0x35], 1
jne 0x140085b28
mov word [rdi + 0x3c], 0x101
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.140023c10
test al, al
je 0x140023b89
mov dword [rbp + 0xb8], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.140023be8
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call rax
cmp dword [rbp + 0xb8], 1
je 0x140023be2
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], r14d
lea r8d, [rdx + 0x2c]
call fcn.140025c10
cmp byte [rdi + 0x44], r14b
jne 0x140085bbb
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov word [rdi + 0x46], ax
call fcn.140001da4
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x28]
mov rax, rdi
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov byte [rdi + 0x44], 1
jmp 0x140023b89
cmp byte [rbp + 0x9a], 1
jne 0x140085aee
mov word [rdi + 0x34], 0x101
jmp 0x140023b42
mov word [rdi + 0x35], 0x101
mov byte [rdi + 0x37], 1
jmp 0x140023b42
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x35], 1
mov byte [rdi + 0x37], 1
jne 0x140085b19
mov word [rdi + 0x38], 0x101
jmp 0x140023b42
mov word [rdi + 0x39], 0x101
mov byte [rdi + 0x3b], 1
jmp 0x140023b42
mov word [rdi + 0x3d], 0x101
mov byte [rdi + 0x3f], 1
jmp 0x140023b42
cmp eax, 3
jne 0x140023b42
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x3f], 1
mov byte [rdi + 0x3d], 1
mov byte [rdi + 0x3b], 1
mov byte [rdi + 0x39], 1
mov byte [rdi + 0x35], 1
jne 0x140085b68
mov word [rdi + 0x40], 0x101
jmp 0x140023b42
mov word [rdi + 0x41], 0x101
mov byte [rdi + 0x43], 1
jmp 0x140023b42
cmp dword [rdi + 4], 1
jne 0x140085b85
mov word [rdi + 0x30], 0x101
jmp 0x140085ba6
cmp dword [rdi + 4], 2
jne 0x140085ba6
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
jne 0x140085ba2
mov byte [rdi + 0x30], 1
jmp 0x140085ba6
mov byte [rdi + 0x32], 1
movzx eax, byte [rbp + 0x98]
shr eax, 6
and eax, 1
mov byte [rdi + 0x48], al
jmp 0x140023b42
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
call fcn.140046c20
test al, al
je 0x140085be6
lea rcx, [rsp + 0x38]
call fcn.140046bf8
lea rcx, [rsp + 0x50]
call rax
jmp 0x140085bf1
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x38]
call fcn.140001da4
nop
jmp 0x140023bb3