Function at 0x14001f058
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 [0x140183048]
lea r15, [0x140183048]
cmp rcx, r15
je 0x14001f0b8
test byte [rcx + 0x1c], 1
je 0x14001f0b8
cmp byte [rcx + 0x19], 4
jb 0x14001f0b8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x176
call fcn.140004e50
test r12, r12
jne 0x14001f0d5
lea r8, str.ppBsiCat
mov edx, 0x1fe2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008f4c8
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 0x14001f105
mov rcx, qword [0x140183048]
mov ebx, 0x8007000e
jmp 0x14001f584
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.14009039c
mov ebx, eax
test eax, eax
js 0x14001f16e
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 0x14001f17a
mov ebx, 0x8007000e
mov rcx, qword [0x140183048]
jmp 0x14001f55d
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.1400978dc
mov ebx, eax
test eax, eax
jns 0x14001f1da
mov rcx, qword [0x140183048]
cmp rcx, r15
je 0x14001f55d
test byte [rcx + 0x1c], 1
je 0x14001f55d
cmp byte [rcx + 0x19], 2
jb 0x14001f55d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x177
mov r9d, eax
call fcn.140004e7c
jmp 0x14001f16e
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.14009039c
mov ebx, eax
test eax, eax
js 0x14001f16e
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x158]
call fcn.14009039c
mov ebx, eax
test eax, eax
js 0x14001f16e
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x160]
add rdx, 8
call fcn.14009039c
mov ebx, eax
test eax, eax
js 0x14001f16e
mov eax, dword [rsi + 0x150]
sub eax, 2
cmp eax, 1
ja 0x14001f265
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.140093500
mov ebx, eax
test eax, eax
js 0x14001f16e
mov rcx, qword [rsi + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [0x14015ab98]
call fcn.14009047c
mov r15, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x14001f519
mov ecx, dword [rsi + 0x150]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14001f2ff
cmp ecx, 1
je 0x14001f2ff
mov rdx, qword [rdi + 0x30]
mov rcx, r15
add rdx, 0x10
call fcn.14013dbfc
mov ebx, eax
test eax, eax
jns 0x14001f2ff
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14001f520
test byte [rcx + 0x1c], 1
je 0x14001f520
cmp byte [rcx + 0x19], 2
jb 0x14001f520
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x178
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140005f80
jmp 0x14001f519
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.14009039c
mov ebx, eax
test eax, eax
js 0x14001f519
lea r8, [rdi + 0x80]
xor r9d, r9d
xor edx, edx
lea rcx, [0x1401859f8]
call fcn.1400932a4
mov ebx, eax
test eax, eax
js 0x14001f519
lea rcx, [rbp + 0x58]
call fcn.140098ae4
mov ebx, eax
test eax, eax
jns 0x14001f396
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14001f38d
test byte [rcx + 0x1c], 1
je 0x14001f38d
cmp byte [rcx + 0x19], 2
jb 0x14001f38d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x179
mov r9d, ebx
call fcn.140004e7c
mov r14, qword [rbp + 0x58]
jmp 0x14001f519
mov r14, qword [rbp + 0x58]
jmp 0x14001f520
mov r14, qword [rbp + 0x58]
lea rdx, [rdi + 0x88]
mov rcx, r14
call fcn.140092a64
mov ebx, eax
test eax, eax
js 0x14001f519
lea rcx, [rdi + 0x90]
call fcn.140099a48
mov ebx, eax
test eax, eax
js 0x14001f519
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.140098de0
mov ebx, eax
test eax, eax
jns 0x14001f468
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14001f520
test byte [rcx + 0x1c], 1
je 0x14001f520
cmp byte [rcx + 0x19], 2
jb 0x14001f520
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x17a
mov r9d, ebx
call fcn.140004e7c
jmp 0x14001f519
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 [0x140162618]
movdqu xmmword [rdi + 0x6c], xmm0
mov rcx, qword [rsi + 0x190]
test rcx, rcx
jne 0x14001f4fd
lea r8, str.m_pLocalCatalog
mov edx, 0x2077
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008f4c8
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x48]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
js 0x14001f519
mov qword [r12], rdi
xor edi, edi
mov rcx, qword [0x140183048]
test r15, r15
je 0x14001f53b
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test r14, r14
je 0x14001f556
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea r15, [0x140183048]
test rdi, rdi
je 0x14001f580
mov rcx, rdi
call fcn.14010a388
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test ebx, ebx
jns 0x14001f5b4
cmp rcx, r15
je 0x14001f5da
test byte [rcx + 0x1c], 1
je 0x14001f5b4
cmp byte [rcx + 0x19], 2
jb 0x14001f5b4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x17b
mov r9d, ebx
call fcn.140004e7c
mov rcx, qword [0x140183048]
cmp rcx, r15
je 0x14001f5da
test byte [rcx + 0x1c], 1
je 0x14001f5da
cmp byte [rcx + 0x19], 4
jb 0x14001f5da
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d600]
mov edx, 0x17c
call fcn.140004e50
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret