Function at 0x140017b58
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003a9b8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov rax, qword [0x140039148]
lea r12, [0x140039148]
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x40], rax
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x5c]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rsp + 0x70]
lea rdx, [rsp + 0x40]
call fcn.140019b14
mov edi, eax
lea rcx, [rbp - 0x60]
call fcn.14001d57c
or r14d, 0xffffffff
test eax, eax
jne 0x140017c48
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80070000
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140017c3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
jmp 0x140017e0e
mov edi, 0x80004005
jmp 0x140017e0e
test rsi, rsi
je 0x140017e0e
mov rax, qword [0x140039148]
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x140026384]
lea rcx, [rsp + 0x48]
call fcn.140004d18
mov rbx, qword [rsp + 0x48]
mov r8, rbx
mov edx, 3
mov rcx, rsi
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140017cb8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
mov rax, qword [0x140039148]
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str._______Starting_Dism.exe_session_______
lea rcx, [rsp + 0x50]
call fcn.140004d18
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov edx, 3
mov rcx, rsi
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140017d1f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
mov rax, qword [0x140039148]
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [0x140026384]
lea rcx, [rsp + 0x58]
call fcn.140004d18
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov edx, 3
mov rcx, rsi
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140017d86
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
mov rax, qword [0x140039148]
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x58]
mov r8d, dword [rbp - 0x5c]
lea rdx, str.Host_machine_information:_OS_Version_u._u._u__Running_architecture_s__Number_of_processors_d
lea rcx, [rsp + 0x60]
call fcn.140004d18
mov rbx, qword [rsp + 0x60]
mov r8, rbx
mov edx, 3
mov rcx, rsi
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140017e0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x140017e36
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x140024fd8]
mov eax, edi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14001f6f0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret