Function at 0x140016a64
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x40], 0
xor r14d, r14d
and dword [rbp + 0x48], r14d
mov r12, rdx
and dword [rbp + 0x50], r14d
mov rsi, rcx
mov qword [rbp + 0x58], r14
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140016ac4
test byte [rcx + 0x1c], 1
je 0x140016ac4
cmp byte [rcx + 0x19], 4
jb 0x140016ac4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x176
call fcn.14000c328
test r12, r12
jne 0x140016ae1
lea r8, str.ppBsiCat
mov edx, 0x1fe2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
and qword [r12], r14
mov ebx, 0xd0
mov ecx, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140016b11
mov rcx, qword [0x140173048]
mov ebx, 0x8007000e
jmp 0x140016f98
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
movups xmm0, xmmword [rsi + 0x128]
lea rdx, [rdi + 0x10]
xor r8d, r8d
movdqu xmmword [rdi], xmm0
mov rcx, qword [rsi + 0x138]
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140016f6f
mov eax, dword [rsi + 0x140]
mov ecx, 0x28
mov dword [rdi + 0x18], eax
mov eax, dword [rsi + 0x150]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x28], 1
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x140016b83
mov ebx, 0x8007000e
jmp 0x140016f6f
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
lea rcx, [rdi + 0x98]
call fcn.140098b0c
mov ebx, eax
test eax, eax
jns 0x140016be6
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140016f6f
test byte [rcx + 0x1c], 1
je 0x140016f6f
cmp byte [rcx + 0x19], 2
jb 0x140016f6f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x177
mov r9d, eax
call fcn.14000c47c
jmp 0x140016f6f
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140016f6f
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x158]
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140016f6f
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x160]
add rdx, 8
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140016f6f
mov eax, dword [rsi + 0x150]
sub eax, 2
cmp eax, 1
ja 0x140016c71
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.140095254
mov ebx, eax
test eax, eax
js 0x140016f6f
mov rcx, qword [rsi + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [0x14014ff70]
call fcn.140091810
mov r15, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x140016f2d
mov eax, dword [rsi + 0x150]
cmp eax, 1
je 0x140016d0b
add eax, 0xfffffffc
cmp eax, 1
jbe 0x140016d0b
mov rdx, qword [rdi + 0x30]
mov rcx, r15
add rdx, 0x10
call fcn.1400055dc
mov ebx, eax
test eax, eax
jns 0x140016d0b
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140016f34
test byte [rcx + 0x1c], 1
je 0x140016f34
cmp byte [rcx + 0x19], 2
jb 0x140016f34
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x178
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.1400151b8
jmp 0x140016f2d
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140016f2d
lea r8, [rdi + 0x80]
xor r9d, r9d
xor edx, edx
lea rcx, [0x140175978]
call fcn.140094f30
mov ebx, eax
test eax, eax
js 0x140016f2d
lea rcx, [rbp + 0x58]
call fcn.140099824
mov ebx, eax
test eax, eax
jns 0x140016da2
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140016d99
test byte [rcx + 0x1c], 1
je 0x140016d99
cmp byte [rcx + 0x19], 2
jb 0x140016d99
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x179
mov r9d, ebx
call fcn.14000c47c
mov r14, qword [rbp + 0x58]
jmp 0x140016f2d
mov r14, qword [rbp + 0x58]
jmp 0x140016f34
mov r14, qword [rbp + 0x58]
lea rdx, [rdi + 0x88]
mov rcx, r14
call fcn.140095530
mov ebx, eax
test eax, eax
js 0x140016f2d
lea rcx, [rdi + 0x90]
call fcn.140099910
mov ebx, eax
test eax, eax
js 0x140016f2d
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
movzx eax, word [rbp - 0x38]
lea rdx, [rbp + 0x50]
mov word [rdi + 0xa0], ax
lea rcx, [rbp + 0x48]
mov rax, qword [rsi + 0x1b8]
mov qword [rdi + 0xb0], rax
mov eax, dword [rsi + 0x1c0]
mov dword [rdi + 0xb8], eax
and qword [rsi + 0x1b8], 0
and dword [rsi + 0x1c0], 0
call fcn.140098c1c
mov ebx, eax
test eax, eax
jns 0x140016e74
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140016f34
test byte [rcx + 0x1c], 1
je 0x140016f34
cmp byte [rcx + 0x19], 2
jb 0x140016f34
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x17a
mov r9d, ebx
call fcn.14000c354
jmp 0x140016f2d
and qword [rdi + 0x48], 0
and dword [rdi + 0x40], 0
and dword [rdi + 0x50], 0
and qword [rdi + 0x58], 0
mov eax, dword [rbp + 0x48]
mov dword [rdi + 0xc0], eax
mov eax, dword [rbp + 0x50]
mov dword [rdi + 0xc4], eax
movzx eax, word [rsi + 0x17c]
mov word [rdi + 0x60], ax
mov rax, qword [rsi + 0x188]
mov qword [rdi + 0x64], rax
mov eax, dword [rsi + 0x180]
mov dword [rdi + 0xa4], eax
mov al, byte [rsi + 0x184]
mov byte [rdi + 0xa2], al
mov al, byte [rsi + 0x186]
mov byte [rdi + 0xa8], al
movups xmm0, xmmword [0x14014fdf0]
movdqu xmmword [rdi + 0x6c], xmm0
cmp qword [rsi + 0x190], 0
jne 0x140016f00
lea r8, str.m_pLocalCatalog
mov edx, 0x2077
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
movabs r10, 0xcbc80eee345c8a70
mov rax, qword [rax + 0x48]
mov rdx, rdi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
js 0x140016f2d
mov qword [r12], rdi
xor edi, edi
mov rcx, qword [0x140173048]
test r15, r15
je 0x140016f4f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test r14, r14
je 0x140016f6a
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test rdi, rdi
je 0x140016f8d
mov rcx, rdi
call fcn.140104a9c
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
test ebx, ebx
jns 0x140016fc8
cmp rcx, r15
je 0x140016fee
test byte [rcx + 0x1c], 1
je 0x140016fc8
cmp byte [rcx + 0x19], 2
jb 0x140016fc8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x17b
mov r9d, ebx
call fcn.14000c47c
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140016fee
test byte [rcx + 0x1c], 1
je 0x140016fee
cmp byte [rcx + 0x19], 4
jb 0x140016fee
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x17c
call fcn.14000c328
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret