Function at 0x140019ed8
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.14001e640
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.14001edf8
or r10, 0xffffffffffffffff
mov r8d, r14d
lea r15, [0x1400ab2dc]
cmp qword [rdi + 8], r14
ja 0x14001a061
mov r8, r10
xor edx, edx
mov rcx, rdi
cmp r8, r10
jne 0x140019f6b
mov r8, r10
call fcn.14001efc4
mov rdx, r15
mov rcx, rdi
call fcn.14001f36c
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 0x14004e9d0
dec ecx
jne 0x14004e8d9
mov eax, dword [rbx + 4]
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
test eax, eax
je 0x14004e933
cmp eax, 1
je 0x14004e956
cmp eax, 2
jne 0x14004e990
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x3b], 1
mov byte [rbx + 0x39], 1
mov byte [rbx + 0x35], 1
jne 0x14004e981
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 0x14001a069
xor edx, edx
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x38], r14d
lea r8d, [rdx + 0x2c]
call fcn.140026d50
cmp byte [rbx + 0x48], r14b
jne 0x14004ea14
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 0x14004e89e
mov byte [rbx + 0x48], 1
jmp 0x14001a012
mov r9, r14
mov rcx, r14
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [rax], dx
jne 0x14004e8b1
inc rcx
inc r9
movzx edx, word [r15 + r9*2]
test dx, dx
jne 0x14004e8a9
test rcx, rcx
je 0x140019f5e
inc r8
add rax, 2
cmp r8, qword [rdi + 8]
jb 0x14004e89e
jmp 0x140019f5b
cmp ecx, 4
jne 0x140019fec
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 0x140019fec
cmp byte [rbp + 0x8a], 1
jne 0x14004e924
mov word [rbx + 0x44], 0x101
jmp 0x140019fec
mov word [rbx + 0x45], 0x101
mov byte [rbx + 0x47], 1
jmp 0x140019fec
cmp byte [rbp + 0x8a], 1
jne 0x14004e947
mov word [rbx + 0x34], 0x101
jmp 0x140019fec
mov word [rbx + 0x35], 0x101
mov byte [rbx + 0x37], 1
jmp 0x140019fec
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x35], 1
mov byte [rbx + 0x37], 1
jne 0x14004e972
mov word [rbx + 0x38], 0x101
jmp 0x140019fec
mov word [rbx + 0x39], 0x101
mov byte [rbx + 0x3b], 1
jmp 0x140019fec
mov word [rbx + 0x3d], 0x101
mov byte [rbx + 0x3f], 1
jmp 0x140019fec
cmp eax, 3
jne 0x140019fec
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 0x14004e9c1
mov word [rbx + 0x40], 0x101
jmp 0x140019fec
mov word [rbx + 0x41], 0x101
mov byte [rbx + 0x43], 1
jmp 0x140019fec
cmp dword [rbx + 4], 1
jne 0x14004e9de
mov word [rbx + 0x30], 0x101
jmp 0x14004e9ff
cmp dword [rbx + 4], 2
jne 0x14004e9ff
cmp byte [rbp + 0x8a], 1
mov byte [rbx + 0x31], 1
mov byte [rbx + 0x33], 1
jne 0x14004e9fb
mov byte [rbx + 0x30], 1
jmp 0x14004e9ff
mov byte [rbx + 0x32], 1
movzx eax, byte [rbp + 0x88]
shr eax, 6
and eax, 1
mov byte [rbx + 0x4c], al
jmp 0x140019fec
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
call fcn.14006aad8
test al, al
je 0x14004ea4e
lea rcx, [rsp + 0x20]
call fcn.14006aad8
lea rdx, [fcn.14003e000]
lea rcx, [rsp + 0x38]
test al, al
cmovne rdx, qword [rsp + 0x30]
call rdx
jmp 0x14004ea59
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14001a03c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x14001a03c