Function at 0x140016824
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 [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x140016884
test byte [rcx + 0x1c], 1
je 0x140016884
cmp byte [rcx + 0x19], 4
jb 0x140016884
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x176
call fcn.14000c0e8
test r12, r12
jne 0x1400168a1
lea r8, str.ppBsiCat
mov edx, 0x1fe2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
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 0x1400168d1
mov rcx, qword [0x14016a048]
mov ebx, 0x8007000e
jmp 0x140016d58
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.14008a470
mov ebx, eax
test eax, eax
js 0x140016d2f
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 0x140016943
mov ebx, 0x8007000e
jmp 0x140016d2f
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.14009138c
mov ebx, eax
test eax, eax
jns 0x1400169a6
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x140016d2f
test byte [rcx + 0x1c], 1
je 0x140016d2f
cmp byte [rcx + 0x19], 2
jb 0x140016d2f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x177
mov r9d, eax
call fcn.14000c23c
jmp 0x140016d2f
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.14008a470
mov ebx, eax
test eax, eax
js 0x140016d2f
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x158]
call fcn.14008a470
mov ebx, eax
test eax, eax
js 0x140016d2f
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x160]
add rdx, 8
call fcn.14008a470
mov ebx, eax
test eax, eax
js 0x140016d2f
mov eax, dword [rsi + 0x150]
sub eax, 2
cmp eax, 1
ja 0x140016a31
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.14008dad4
mov ebx, eax
test eax, eax
js 0x140016d2f
mov rcx, qword [rsi + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [0x140147d20]
call fcn.14008a090
mov r15, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x140016ced
mov eax, dword [rsi + 0x150]
cmp eax, 1
je 0x140016acb
add eax, 0xfffffffc
cmp eax, 1
jbe 0x140016acb
mov rdx, qword [rdi + 0x30]
mov rcx, r15
add rdx, 0x10
call fcn.1400053ac
mov ebx, eax
test eax, eax
jns 0x140016acb
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140016cf4
test byte [rcx + 0x1c], 1
je 0x140016cf4
cmp byte [rcx + 0x19], 2
jb 0x140016cf4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x178
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140014f78
jmp 0x140016ced
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.14008a470
mov ebx, eax
test eax, eax
js 0x140016ced
lea r8, [rdi + 0x80]
xor r9d, r9d
xor edx, edx
lea rcx, [0x14016c478]
call fcn.14008d7b0
mov ebx, eax
test eax, eax
js 0x140016ced
lea rcx, [rbp + 0x58]
call fcn.1400920a4
mov ebx, eax
test eax, eax
jns 0x140016b62
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140016b59
test byte [rcx + 0x1c], 1
je 0x140016b59
cmp byte [rcx + 0x19], 2
jb 0x140016b59
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x179
mov r9d, ebx
call fcn.14000c23c
mov r14, qword [rbp + 0x58]
jmp 0x140016ced
mov r14, qword [rbp + 0x58]
jmp 0x140016cf4
mov r14, qword [rbp + 0x58]
lea rdx, [rdi + 0x88]
mov rcx, r14
call fcn.14008ddb0
mov ebx, eax
test eax, eax
js 0x140016ced
lea rcx, [rdi + 0x90]
call fcn.140092190
mov ebx, eax
test eax, eax
js 0x140016ced
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.14009149c
mov ebx, eax
test eax, eax
jns 0x140016c34
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140016cf4
test byte [rcx + 0x1c], 1
je 0x140016cf4
cmp byte [rcx + 0x19], 2
jb 0x140016cf4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x17a
mov r9d, ebx
call fcn.14000c114
jmp 0x140016ced
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 [0x140147ba0]
movdqu xmmword [rdi + 0x6c], xmm0
cmp qword [rsi + 0x190], 0
jne 0x140016cc0
lea r8, str.m_pLocalCatalog
mov edx, 0x2077
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
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 0x140016ced
mov qword [r12], rdi
xor edi, edi
mov rcx, qword [0x14016a048]
test r15, r15
je 0x140016d0f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test r14, r14
je 0x140016d2a
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rdi, rdi
je 0x140016d4d
mov rcx, rdi
call fcn.1400fd31c
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
test ebx, ebx
jns 0x140016d88
cmp rcx, r15
je 0x140016dae
test byte [rcx + 0x1c], 1
je 0x140016d88
cmp byte [rcx + 0x19], 2
jb 0x140016d88
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x17b
mov r9d, ebx
call fcn.14000c23c
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x140016dae
test byte [rcx + 0x1c], 1
je 0x140016dae
cmp byte [rcx + 0x19], 4
jb 0x140016dae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x17c
call fcn.14000c0e8
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret