Function at 0x140019b08
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rdx
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
lea rdi, [rcx + 0x10]
mov rbx, rcx
mov rcx, rdi
call fcn.14001dfc0
lea rcx, [rsp + 0x70]
xor r14d, r14d
mov byte [rbx + 0x48], r14b
mov dword [rsp + 0x70], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x74]
lea rdx, [rbp - 0x7c]
mov rcx, rdi
mov dword [rbx], eax
mov eax, dword [rsp + 0x78]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 8], eax
call fcn.14001e748
or r10, 0xffffffffffffffff
mov r8d, r14d
lea r15, reloc.OLEAUT32.dll_RegisterActiveObject
cmp qword [rdi + 8], r14
ja 0x140019c89
mov r8, r10
xor edx, edx
mov rcx, rdi
cmp r8, r10
jne 0x140019b9b
mov r8, r10
call fcn.14001e914
mov rdx, r15
mov rcx, rdi
call fcn.14001e020
mov ecx, dword [rbx]
mov word [rbx + 0x43], r14w
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov word [rbx + 0x40], r14w
mov byte [rbx + 0x42], r14b
sub ecx, 5
je 0x14004d5c8
dec ecx
jne 0x140019c14
mov eax, dword [rbx + 4]
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
test eax, eax
je 0x14004d52b
cmp eax, 1
je 0x14004d54e
cmp eax, 2
jne 0x14004d588
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x3b], 1
mov byte [rbx + 0x39], 1
mov byte [rbx + 0x35], 1
jne 0x14004d579
mov word [rbx + 0x3c], 0x101
mov dword [rbp + 0xb8], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp + 0xb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rbp + 0xb8], 1
je 0x140019c91
xor edx, edx
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x38], r14d
lea r8d, [rdx + 0x2c]
call fcn.140025970
cmp byte [rbx + 0x44], r14b
jne 0x14004d60c
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x38]
lea r11, [rsp + 0x190]
mov rdi, qword [r11 + 0x30]
mov word [rbx + 0x46], ax
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rdi]
jmp 0x14004d4f0
mov byte [rbx + 0x44], 1
jmp 0x140019c3a
mov r9, r14
mov rcx, r14
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [rax], dx
jne 0x14004d503
inc rcx
inc r9
movzx edx, word [r15 + r9*2]
test dx, dx
jne 0x14004d4fb
test rcx, rcx
je 0x140019b8e
inc r8
add rax, 2
cmp r8, qword [rdi + 8]
jb 0x14004d4f0
jmp 0x140019b8b
cmp byte [rbp + 0x8a], 1
jne 0x14004d53f
mov word [rbx + 0x34], 0x101
jmp 0x140019c14
mov word [rbx + 0x35], 0x101
mov byte [rbx + 0x37], 1
jmp 0x140019c14
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x35], 1
mov byte [rbx + 0x37], 1
jne 0x14004d56a
mov word [rbx + 0x38], 0x101
jmp 0x140019c14
mov word [rbx + 0x39], 0x101
mov byte [rbx + 0x3b], 1
jmp 0x140019c14
mov word [rbx + 0x3d], 0x101
mov byte [rbx + 0x3f], 1
jmp 0x140019c14
cmp eax, 3
jne 0x140019c14
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x3f], 1
mov byte [rbx + 0x3d], 1
mov byte [rbx + 0x3b], 1
mov byte [rbx + 0x39], 1
mov byte [rbx + 0x35], 1
jne 0x14004d5b9
mov word [rbx + 0x40], 0x101
jmp 0x140019c14
mov word [rbx + 0x41], 0x101
mov byte [rbx + 0x43], 1
jmp 0x140019c14
cmp dword [rbx + 4], 1
jne 0x14004d5d6
mov word [rbx + 0x30], 0x101
jmp 0x14004d5f7
cmp dword [rbx + 4], 2
jne 0x14004d5f7
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
jne 0x14004d5f3
mov byte [rbx + 0x30], 1
jmp 0x14004d5f7
mov byte [rbx + 0x32], 1
movzx eax, byte [rbp + 0x88]
shr eax, 6
and eax, 1
mov byte [rbx + 0x48], al
jmp 0x140019c14
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.1400692d8
test al, al
je 0x14004d646
lea rcx, [rsp + 0x20]
call fcn.1400692d8
lea rdx, [fcn.14003cc10]
lea rcx, [rsp + 0x38]
test al, al
cmovne rdx, qword [rsp + 0x30]
call rdx
jmp 0x14004d651
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140019c64
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x140019c64