Function at 0x14001a30c
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.14001e7d0
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.14001efd8
or r10, 0xffffffffffffffff
mov r8d, r14d
lea r15, [0x1400ac2f4]
cmp qword [rdi + 8], r14
ja 0x14001a493
mov r8, r10
xor edx, edx
mov rcx, rdi
cmp r8, r10
jne 0x14001a39f
mov r8, r10
call fcn.14001f1a4
mov rdx, r15
mov rcx, rdi
call fcn.14001f520
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 0x14004f6c3
dec ecx
je 0x14004f5f0
cmp ecx, 4
jne 0x14001a41e
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 0x14001a41e
cmp byte [rbp + 0x8a], 1
jne 0x14004f5e1
mov word [rbx + 0x44], 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 0x14001a49b
xor edx, edx
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x38], r14d
lea r8d, [rdx + 0x2c]
call fcn.1400272c0
cmp byte [rbx + 0x48], r14b
jne 0x14004f707
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 0x14004f5a6
mov byte [rbx + 0x48], 1
jmp 0x14001a444
mov r9, r14
mov rcx, r14
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [rax], dx
jne 0x14004f5b9
inc rcx
inc r9
movzx edx, word [r15 + r9*2]
test dx, dx
jne 0x14004f5b1
test rcx, rcx
je 0x14001a392
inc r8
add rax, 2
cmp r8, qword [rdi + 8]
jb 0x14004f5a6
jmp 0x14001a38f
mov word [rbx + 0x45], 0x101
mov byte [rbx + 0x47], 1
jmp 0x14001a41e
mov eax, dword [rbx + 4]
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
test eax, eax
jne 0x14004f622
cmp byte [rbp + 0x8a], 1
jne 0x14004f613
mov word [rbx + 0x34], 0x101
jmp 0x14001a41e
mov word [rbx + 0x35], 0x101
mov byte [rbx + 0x37], 1
jmp 0x14001a41e
cmp eax, 1
jne 0x14004f64f
mov byte [rbx + 0x35], al
mov byte [rbx + 0x37], al
cmp byte [rbp + 0x8a], al
jne 0x14004f640
mov word [rbx + 0x38], 0x101
jmp 0x14001a41e
mov word [rbx + 0x39], 0x101
mov byte [rbx + 0x3b], 1
jmp 0x14001a41e
cmp eax, 2
jne 0x14004f683
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x3b], 1
mov byte [rbx + 0x39], 1
mov byte [rbx + 0x35], 1
add dword [rbp + 0xb], esi
mov word [rbx + 0x3c], 0x101
jmp 0x14001a41e
mov word [rbx + 0x3d], 0x101
mov byte [rbx + 0x3f], 1
jmp 0x14001a41e
cmp eax, 3
jne 0x14001a41e
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 0x14004f6b4
mov word [rbx + 0x40], 0x101
jmp 0x14001a41e
mov word [rbx + 0x41], 0x101
mov byte [rbx + 0x43], 1
jmp 0x14001a41e
cmp dword [rbx + 4], 1
jne 0x14004f6d1
mov word [rbx + 0x30], 0x101
jmp 0x14004f6f2
cmp dword [rbx + 4], 2
jne 0x14004f6f2
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
jne 0x14004f6ee
mov byte [rbx + 0x30], 1
jmp 0x14004f6f2
mov byte [rbx + 0x32], 1
movzx eax, byte [rbp + 0x88]
shr eax, 6
and eax, 1
mov byte [rbx + 0x4c], al
jmp 0x14001a41e
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.14006bb08
test al, al
je 0x14004f741
lea rcx, [rsp + 0x20]
call fcn.14006bb08
lea rdx, [fcn.14003e560]
lea rcx, [rsp + 0x38]
test al, al
cmovne rdx, qword [rsp + 0x30]
call rdx
jmp 0x14004f74c
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14001a46e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x14001a46e