Function at 0x160159868
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rdx
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
movzx r15d, word [rsp + 0x70]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
mov word [rsp + 0x28], r15w
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
call fcn.1601a264c
mov ebx, eax
test eax, eax
jns 0x16015990e
mov rcx, qword [rbp + 0xe8]
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommon_staterepositoryhelper_staterepositoryhelper.cpp
mov edx, 0x24d
call fcn.1600b29f8
jmp 0x160159910
xor ebx, ebx
mov rcx, qword [rbp + 0xe8]
test ebx, ebx
jns 0x160159930
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_searchgather_serverhandlerlist.cxx
mov edx, 0x303
call fcn.1600b47d4
int3
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1601582e0
and dword [rsp + 0x20], 0
xor esi, esi
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub rcx, rdi
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jae 0x160159a95
test rsi, rsi
je 0x1601599b3
lea rdx, [rdi - 0x40]
add rdx, rbx
cmp qword [rdx + 0x18], 8
jb 0x16015998f
mov rdx, qword [rdx]
lea rcx, [rdi + 0x50]
add rcx, rbx
cmp qword [rcx + 0x18], 8
jb 0x1601599a0
mov rcx, qword [rcx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x160159a86
mov rdi, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
lea rcx, [rdi + 0x30]
add rcx, rbx
cmp qword [rcx + 0x18], 8
jb 0x1601599d3
mov rcx, qword [rcx]
lea rdx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
test eax, eax
jns 0x1601599ed
movups xmm0, xmmword [0x1601d9060]
movdqu xmmword [rbp - 0x60], xmm0
mov rdx, qword [rsp + 0x40]
add rdx, 0x50
add rdx, rbx
cmp qword [rdx + 0x18], 8
jb 0x160159a03
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.16003df84
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.16005cc18
mov rax, qword [rsp + 0x30]
cmp rax, qword [r14]
setne cl
test cl, cl
je 0x160159a3b
movups xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rax + 0x80], xmm0
jmp 0x160159a79
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.16003dec8
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xb0], xmm1
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1601582a4
nop
lea rcx, [rbp + 0x40]
call fcn.16003dfc4
inc dword [rsp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.16003dfc4
inc rsi
add rbx, 0x90
jmp 0x160159948
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
and qword [rbp - 0x28], 0
mov ecx, 0x20
mov rax, qword [0x1601c0fd0]
call qword [case.0x16003fc5a.0]
test rax, rax
jne 0x160159ac6
call fcn.16006df5c
int3
lea rcx, [0x1601c0438]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x58]
movdqu xmmword [rax + 8], xmm0
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x40]
movzx ecx, r15w
call fcn.1601a4898
mov rcx, qword [rbp + 0xe8]
test eax, eax
jns 0x160159b0b
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_searchgather_serverhandlerlist.cxx
mov edx, 0x33a
call fcn.1600b47d4
nop
lea rcx, [rbp - 0x40]
call fcn.16005a300
lea rcx, [rbp - 0x40]
call fcn.16005a300
mov edx, dword [rsp + 0x20]
lea rcx, str.SearchHandlerList___Walked_StateRepo_looking_for_handlers__found:__d_items
call fcn.16001a1d8
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x160159b63
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x160159b5b
mov rcx, rbx
call fcn.1601586c4
add rbx, 0x90
cmp rbx, rdi
jne 0x160159b42
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.160031c48
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.16006e590
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret