Function at 0x140001860
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.140006258
lea rcx, [rbp - 0x80]
xor r14d, r14d
mov byte [rdi + 0x44], 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.140002ce0
mov rcx, rbx
call fcn.1400017b4
lea rdx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
call fcn.140001a28
mov ecx, dword [rdi]
mov word [rdi + 0x3f], r14w
mov qword [rdi + 0x30], r14
mov dword [rdi + 0x38], r14d
mov word [rdi + 0x3c], r14w
mov byte [rdi + 0x3e], r14b
sub ecx, 5
je 0x140085a20
dec ecx
jne 0x140001939
mov eax, dword [rdi + 4]
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
test eax, eax
je 0x1400859ba
cmp eax, 1
je 0x1400859dd
cmp eax, 2
jne 0x140085a08
mov word [rdi + 0x3c], 0x101
mov byte [rdi + 0x3b], 1
mov byte [rdi + 0x39], 1
mov byte [rdi + 0x35], 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.140001a94
test al, al
je 0x140001980
mov dword [rbp + 0xb8], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.1400017fc
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call rax
cmp dword [rbp + 0xb8], 1
je 0x1400019d9
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], r14d
lea r8d, [rdx + 0x2c]
call fcn.140025cb0
cmp byte [rdi + 0x40], r14b
jne 0x140085a64
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov word [rdi + 0x42], ax
call fcn.140001a10
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 + 0x40], 1
jmp 0x140001980
cmp byte [rbp + 0x9a], 1
jne 0x1400859ce
mov word [rdi + 0x34], 0x101
jmp 0x140001939
mov word [rdi + 0x35], 0x101
mov byte [rdi + 0x37], 1
jmp 0x140001939
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x35], 1
mov byte [rdi + 0x37], 1
jne 0x1400859f9
mov word [rdi + 0x38], 0x101
jmp 0x140001939
mov word [rdi + 0x39], 0x101
mov byte [rdi + 0x3b], 1
jmp 0x140001939
cmp eax, 3
jne 0x140001939
mov word [rdi + 0x3e], 0x101
mov byte [rdi + 0x3d], 1
jmp 0x14000192d
cmp dword [rdi + 4], 1
jne 0x140085a2e
mov word [rdi + 0x30], 0x101
jmp 0x140085a4f
cmp dword [rdi + 4], 2
jne 0x140085a4f
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
jne 0x140085a4b
mov byte [rdi + 0x30], 1
jmp 0x140085a4f
mov byte [rdi + 0x32], 1
movzx eax, byte [rbp + 0x98]
shr eax, 6
and eax, 1
mov byte [rdi + 0x44], al
jmp 0x140001939
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
call fcn.140046cac
test al, al
je 0x140085a8f
lea rcx, [rsp + 0x38]
call fcn.140046c84
lea rcx, [rsp + 0x50]
call rax
jmp 0x140085a9a
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x38]
call fcn.140001a10
nop
jmp 0x1400019aa