Function at 0x140019cb8
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.14001e400
lea rcx, [rsp + 0x70]
xor r14d, r14d
mov byte [rbx + 0x4c], 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.14001ebb8
or r10, 0xffffffffffffffff
mov r8d, r14d
lea r15, [0x1400aa2dc]
cmp qword [rdi + 8], r14
ja 0x140019e41
mov r8, r10
xor edx, edx
mov rcx, rdi
cmp r8, r10
jne 0x140019d4b
mov r8, r10
call fcn.14001ed84
mov rdx, r15
mov rcx, rdi
call fcn.14001f12c
mov ecx, dword [rbx]
mov word [rbx + 0x47], r14w
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov dword [rbx + 0x40], r14d
mov word [rbx + 0x44], r14w
mov byte [rbx + 0x46], r14b
sub ecx, 5
je 0x14004e4d4
dec ecx
jne 0x14004e3dd
mov eax, dword [rbx + 4]
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
test eax, eax
je 0x14004e437
cmp eax, 1
je 0x14004e45a
cmp eax, 2
jne 0x14004e494
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x3b], 1
mov byte [rbx + 0x39], 1
mov byte [rbx + 0x35], 1
jne 0x14004e485
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 0x140019e49
xor edx, edx
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x38], r14d
lea r8d, [rdx + 0x2c]
call fcn.140026b10
cmp byte [rbx + 0x48], r14b
jne 0x14004e518
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 + 0x4a], ax
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rdi]
jmp 0x14004e3a2
mov byte [rbx + 0x48], 1
jmp 0x140019df2
mov r9, r14
mov rcx, r14
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [rax], dx
jne 0x14004e3b5
inc rcx
inc r9
movzx edx, word [r15 + r9*2]
test dx, dx
jne 0x14004e3ad
test rcx, rcx
je 0x140019d3e
inc r8
add rax, 2
cmp r8, qword [rdi + 8]
jb 0x14004e3a2
jmp 0x140019d3b
cmp ecx, 4
jne 0x140019dcc
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 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
mov byte [rbx + 0x41], 1
mov byte [rbx + 0x43], 1
cmp dword [rbx + 4], r14d
jne 0x140019dcc
cmp byte [rbp + 0x8a], 1
jne 0x14004e428
mov word [rbx + 0x44], 0x101
jmp 0x140019dcc
mov word [rbx + 0x45], 0x101
mov byte [rbx + 0x47], 1
jmp 0x140019dcc
cmp byte [rbp + 0x8a], 1
jne 0x14004e44b
mov word [rbx + 0x34], 0x101
jmp 0x140019dcc
mov word [rbx + 0x35], 0x101
mov byte [rbx + 0x37], 1
jmp 0x140019dcc
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x35], 1
mov byte [rbx + 0x37], 1
jne 0x14004e476
mov word [rbx + 0x38], 0x101
jmp 0x140019dcc
mov word [rbx + 0x39], 0x101
mov byte [rbx + 0x3b], 1
jmp 0x140019dcc
mov word [rbx + 0x3d], 0x101
mov byte [rbx + 0x3f], 1
jmp 0x140019dcc
cmp eax, 3
jne 0x140019dcc
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 0x14004e4c5
mov word [rbx + 0x40], 0x101
jmp 0x140019dcc
mov word [rbx + 0x41], 0x101
mov byte [rbx + 0x43], 1
jmp 0x140019dcc
cmp dword [rbx + 4], 1
jne 0x14004e4e2
mov word [rbx + 0x30], 0x101
jmp 0x14004e503
cmp dword [rbx + 4], 2
jne 0x14004e503
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
jne 0x14004e4ff
mov byte [rbx + 0x30], 1
jmp 0x14004e503
mov byte [rbx + 0x32], 1
movzx eax, byte [rbp + 0x88]
shr eax, 6
and eax, 1
mov byte [rbx + 0x4c], al
jmp 0x140019dcc
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.14006a614
test al, al
je 0x14004e552
lea rcx, [rsp + 0x20]
call fcn.14006a614
lea rdx, [fcn.14003ddc0]
lea rcx, [rsp + 0x38]
test al, al
cmovne rdx, qword [rsp + 0x30]
call rdx
jmp 0x14004e55d
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140019e1c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x140019e1c