Function at 0x140010cd0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
add rcx, 0x10
call fcn.140003200
lea rcx, [rbp - 0x80]
mov byte [rdi + 0x44], 0
mov dword [rbp - 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp - 0x78]
mov r11d, dword [rbp - 0x7c]
mov dword [rdi + 4], eax
mov eax, dword [rbp - 0x74]
lea rdx, [rbp - 0x6c]
lea rcx, [rdi + 0x10]
mov dword [rdi + 8], eax
mov dword [rdi], r11d
call fcn.140002730
lea rcx, [rdi + 0x10]
call fcn.140010e50
lea rdx, reloc.OLEAUT32.dll_RegisterActiveObject
lea rcx, [rdi + 0x10]
call fcn.140010e80
mov ecx, dword [rdi]
mov byte [rdi + 0x40], 0
sub ecx, 5
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x38], 0
je 0x14002de92
dec ecx
jne 0x140010da4
mov eax, dword [rdi + 4]
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
mov byte [rdi + 0x35], 1
test eax, eax
je 0x14002de40
cmp eax, 1
jne 0x14002de72
mov byte [rdi + 0x37], al
mov byte [rdi + 0x39], al
cmp byte [rbp + 0x9a], al
jne 0x14002de63
mov word [rdi + 0x3a], 0x101
xor esi, esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
call fcn.140001090
test al, al
je 0x140010df0
mov dword [rbp + 0xb0], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.140001020
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call rax
cmp dword [rbp + 0xb0], 1
je 0x14002df23
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], esi
lea r8d, [rdx + 0x2c]
call fcn.140014ac0
cmp byte [rdi + 0x40], sil
jne 0x14002df2c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
movzx eax, word [rsp + 0x50]
mov word [rdi + 0x42], ax
test rcx, rcx
je 0x140010e32
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r11, [rsp + 0x1a0]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp byte [rbp + 0x9a], 1
jne 0x14002de54
mov word [rdi + 0x36], 0x101
jmp 0x140010da4
mov byte [rdi + 0x37], 1
mov word [rdi + 0x38], 0x101
jmp 0x140010da4
mov byte [rdi + 0x3b], 1
mov word [rdi + 0x3c], 0x101
jmp 0x140010da4
cmp eax, 2
jne 0x140010da4
mov word [rdi + 0x3e], 0x101
mov byte [rdi + 0x3d], 1
mov byte [rdi + 0x3b], 1
mov byte [rdi + 0x37], 1
jmp 0x140010da4
mov eax, dword [rdi + 4]
test eax, eax
jne 0x14002deb4
movzx eax, byte [rbp + 0x98]
mov word [rdi + 0x30], 0x101
shr eax, 6
and eax, 1
mov byte [rdi + 0x44], al
jmp 0x140010da4
cmp eax, 1
jne 0x14002ded7
mov byte [rdi + 0x31], al
movzx eax, byte [rbp + 0x98]
mov word [rdi + 0x32], 0x101
shr eax, 6
and eax, 1
mov byte [rdi + 0x44], al
jmp 0x140010da4
cmp eax, 2
jne 0x14002df0e
cmp byte [rbp + 0x9a], 1
mov byte [rdi + 0x31], 1
mov byte [rdi + 0x33], 1
mov byte [rdi + 0x35], 1
jne 0x14002df0a
movzx eax, byte [rbp + 0x98]
mov byte [rdi + 0x32], 1
shr eax, 6
and eax, 1
mov byte [rdi + 0x44], al
jmp 0x140010da4
mov byte [rdi + 0x34], 1
movzx eax, byte [rbp + 0x98]
shr eax, 6
and eax, 1
mov byte [rdi + 0x44], al
jmp 0x140010da4
mov byte [rdi + 0x40], 1
jmp 0x140010df0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
call fcn.14003d590
test al, al
je 0x14002df65
lea rcx, [rsp + 0x38]
call fcn.14004f4c0
lea rcx, [rsp + 0x50]
call rax
lea rcx, [rsp + 0x38]
call fcn.1400386f0
nop
jmp 0x140010e19
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x38]
call fcn.1400386f0
nop
jmp 0x140010e19