Function at 0x140023840
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.140008b54
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.140006cb8
mov rcx, rbx
call fcn.140023ac0
lea rdx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
call fcn.140023a54
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 0x140085da7
dec ecx
jne 0x140023926
mov eax, dword [rdi + 4]
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
test eax, eax
je 0x140085d0a
cmp eax, 1
je 0x140085d2d
cmp eax, 2
jne 0x140085d67
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x3b], 1
mov byte [rdi + 0x39], 1
mov byte [rdi + 0x35], 1
jne 0x140085d58
mov word [rdi + 0x3c], 0x101
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.1400239f4
test al, al
je 0x14002396d
mov dword [rbp + 0xb8], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.1400239cc
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call rax
cmp dword [rbp + 0xb8], 1
je 0x1400239c6
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], r14d
lea r8d, [rdx + 0x2c]
call fcn.140025d50
cmp byte [rdi + 0x44], r14b
jne 0x140085deb
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.1400063fc
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 0x14002396d
cmp byte [rbp + 0x9a], 1
jne 0x140085d1e
mov word [rdi + 0x34], 0x101
jmp 0x140023926
mov word [rdi + 0x35], 0x101
mov byte [rdi + 0x37], 1
jmp 0x140023926
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x35], 1
mov byte [rdi + 0x37], 1
jne 0x140085d49
mov word [rdi + 0x38], 0x101
jmp 0x140023926
mov word [rdi + 0x39], 0x101
mov byte [rdi + 0x3b], 1
jmp 0x140023926
mov word [rdi + 0x3d], 0x101
mov byte [rdi + 0x3f], 1
jmp 0x140023926
cmp eax, 3
jne 0x140023926
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 0x140085d98
mov word [rdi + 0x40], 0x101
jmp 0x140023926
mov word [rdi + 0x41], 0x101
mov byte [rdi + 0x43], 1
jmp 0x140023926
cmp dword [rdi + 4], 1
jne 0x140085db5
mov word [rdi + 0x30], 0x101
jmp 0x140085dd6
cmp dword [rdi + 4], 2
jne 0x140085dd6
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
jne 0x140085dd2
mov byte [rdi + 0x30], 1
jmp 0x140085dd6
mov byte [rdi + 0x32], 1
movzx eax, byte [rbp + 0x98]
shr eax, 6
and eax, 1
mov byte [rdi + 0x48], al
jmp 0x140023926
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
call fcn.140046d7c
test al, al
je 0x140085e16
lea rcx, [rsp + 0x38]
call fcn.140046d54
lea rcx, [rsp + 0x50]
call rax
jmp 0x140085e21
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x38]
call fcn.1400063fc
nop
jmp 0x140023997