Function at 0x14001e2bc
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 [0x140170048]
lea r15, [0x140170048]
cmp rcx, r15
je 0x14001e31c
test byte [rcx + 0x1c], 1
je 0x14001e31c
cmp byte [rcx + 0x19], 4
jb 0x14001e31c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x176
call fcn.140004c54
test r12, r12
jne 0x14001e339
lea r8, str.ppBsiCat
mov edx, 0x1fe2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008388c
and qword [r12], r14
mov ebx, 0xd0
mov ecx, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x14001e363
mov rcx, qword [0x140170048]
mov ebx, 0x8007000e
jmp 0x14001e7c3
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.14008468c
mov ebx, eax
test eax, eax
js 0x14001e3c8
mov eax, dword [rsi + 0x140]
mov ebx, 0x28
mov dword [rdi + 0x18], eax
mov ecx, ebx
mov eax, dword [rsi + 0x150]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x28], 1
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x14001e3d4
mov ebx, 0x8007000e
mov rcx, qword [0x140170048]
jmp 0x14001e7a2
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rcx, [rdi + 0x98]
call fcn.14008b5b0
mov ebx, eax
test eax, eax
jns 0x14001e431
mov rcx, qword [0x140170048]
cmp rcx, r15
je 0x14001e7a2
test byte [rcx + 0x1c], 1
je 0x14001e7a2
cmp byte [rcx + 0x19], 2
jb 0x14001e7a2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x177
mov r9d, eax
call fcn.140004c78
jmp 0x14001e3c8
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.14008468c
mov ebx, eax
test eax, eax
js 0x14001e3c8
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x158]
call fcn.14008468c
mov ebx, eax
test eax, eax
js 0x14001e3c8
mov rdx, qword [rdi + 0x30]
xor r8d, r8d
mov rcx, qword [rsi + 0x160]
add rdx, 8
call fcn.14008468c
mov ebx, eax
test eax, eax
js 0x14001e3c8
mov eax, dword [rsi + 0x150]
sub eax, 2
cmp eax, 1
ja 0x14001e4bc
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.1400875f4
mov ebx, eax
test eax, eax
js 0x14001e3c8
mov rcx, qword [rsi + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [0x1401487f8]
call fcn.140084760
mov r15, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x14001e76a
mov ecx, dword [rsi + 0x150]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14001e556
cmp ecx, 1
je 0x14001e556
mov rdx, qword [rdi + 0x30]
mov rcx, r15
add rdx, 0x10
call fcn.14012c668
mov ebx, eax
test eax, eax
jns 0x14001e556
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14001e771
test byte [rcx + 0x1c], 1
je 0x14001e771
cmp byte [rcx + 0x19], 2
jb 0x14001e771
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x178
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140005c44
jmp 0x14001e76a
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.14008468c
mov ebx, eax
test eax, eax
js 0x14001e76a
lea r8, [rdi + 0x80]
xor r9d, r9d
xor edx, edx
lea rcx, [0x1401725d0]
call fcn.1400873b0
mov ebx, eax
test eax, eax
js 0x14001e76a
lea rcx, [rbp + 0x58]
call fcn.14008c6c8
mov ebx, eax
test eax, eax
jns 0x14001e5ed
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14001e5e4
test byte [rcx + 0x1c], 1
je 0x14001e5e4
cmp byte [rcx + 0x19], 2
jb 0x14001e5e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x179
mov r9d, ebx
call fcn.140004c78
mov r14, qword [rbp + 0x58]
jmp 0x14001e76a
mov r14, qword [rbp + 0x58]
jmp 0x14001e771
mov r14, qword [rbp + 0x58]
lea rdx, [rdi + 0x88]
mov rcx, r14
call fcn.140086c18
mov ebx, eax
test eax, eax
js 0x14001e76a
lea rcx, [rdi + 0x90]
call fcn.14008d554
mov ebx, eax
test eax, eax
js 0x14001e76a
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
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.14008c990
mov ebx, eax
test eax, eax
jns 0x14001e6b9
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14001e771
test byte [rcx + 0x1c], 1
je 0x14001e771
cmp byte [rcx + 0x19], 2
jb 0x14001e771
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x17a
mov r9d, ebx
call fcn.140004c78
jmp 0x14001e76a
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 [0x14014fd28]
movdqu xmmword [rdi + 0x6c], xmm0
mov rcx, qword [rsi + 0x190]
test rcx, rcx
jne 0x14001e74e
lea r8, str.m_pLocalCatalog
mov edx, 0x2077
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008388c
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x48]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
js 0x14001e76a
mov qword [r12], rdi
xor edi, edi
mov rcx, qword [0x140170048]
test r15, r15
je 0x14001e786
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
test r14, r14
je 0x14001e79b
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
lea r15, [0x140170048]
test rdi, rdi
je 0x14001e7bf
mov rcx, rdi
call fcn.1400fa940
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
test ebx, ebx
jns 0x14001e7f3
cmp rcx, r15
je 0x14001e819
test byte [rcx + 0x1c], 1
je 0x14001e7f3
cmp byte [rcx + 0x19], 2
jb 0x14001e7f3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x17b
mov r9d, ebx
call fcn.140004c78
mov rcx, qword [0x140170048]
cmp rcx, r15
je 0x14001e819
test byte [rcx + 0x1c], 1
je 0x14001e819
cmp byte [rcx + 0x19], 4
jb 0x14001e819
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x17c
call fcn.140004c54
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret