Function at 0x14005e829
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
cmp qword [rcx + 0x80], 0
jne 0x14005eec2
mov r15d, edx
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x160]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.kernel32.dll_GetSystemInfo
xor esi, esi
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r15b
mov qword [rsp + 0x50], rbx
jb 0x14005e94b
mov dword [rsp + 0x28], eax
mov ecx, 4
mov edx, 0x50
call fcn.140058e5e
test rax, rax
je 0x14005eee3
mov r8, rax
lea rax, [rsp + 0x30]
mov qword [rax], 5
mov qword [rax + 8], r8
mov eax, 0x80000000
xor edi, edi
xor r13d, r13d
mov r9d, dword [rsp + 0x28]
mov qword [rsp + 0x40], rdi
test r13b, 1
jne 0x14005e968
cmp eax, r9d
ja 0x14005e968
setae r13b
mov r14d, eax
adc r14d, 0
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov ebp, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x30]
jne 0x14005e927
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.14005cc50
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], ebp
mov rdi, qword [rsp + 0x40]
inc rdi
mov eax, r14d
jmp 0x14005e8cf
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x48], rax
jmp 0x14005eaf3
mov ecx, 0x30
call fcn.14001c557
lea rbx, [rsp + 0xb8]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
and qword [rbx + 0x10], 0
mov r15, qword [rsp + 0x38]
shl rdi, 4
add rdi, r15
mov eax, 2
mov r14d, 5
xor ecx, ecx
test cl, 1
je 0x14005e9b3
test r14, r14
je 0x14005ea13
cmp r15, rdi
je 0x14005ea13
dec r14
jmp 0x14005e9d7
cmp r14, rax
jbe 0x14005ea13
mov rcx, rdi
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x14005ea13
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add r15, rax
lea r12, [r15 + 0x10]
mov edx, dword [r15]
mov rcx, rbx
call fcn.14005eef3
mov edx, dword [r15 + 4]
mov rcx, rbx
call fcn.14005eef3
mov edx, dword [r15 + 8]
mov rcx, rbx
call fcn.14005eef3
mov edx, dword [r15 + 0xc]
mov rcx, rbx
call fcn.14005eef3
mov cl, 1
mov r15, r12
xor eax, eax
jmp 0x14005e99f
mov rdi, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
xor r8d, r8d
mov r15b, byte [rsp + 0x27]
cmp rdx, r8
je 0x14005ea3c
cmp byte [rdi + r8], 0
je 0x14005ea3f
inc r8
jmp 0x14005ea2b
mov r8, rdx
lea r9, [0x140259588]
mov rcx, rdi
call fcn.14005ef38
mov r8, rdx
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov rdx, rax
call fcn.14000ef40
cmp qword [rbx], 0
je 0x14005ea84
mov eax, 1
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x48], rax
jmp 0x14005eac1
mov rdi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
mov rcx, rbx
call fcn.14001c557
mov qword [rsp + 0x48], rax
mov rcx, rdx
mov qword [rsp + 0x28], rdx
mov rdx, rdi
mov qword [rsp + 0x58], rbx
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
mov rdx, rdi
call fcn.1400603fd
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14005eaf3
shl r8, 4
mov rcx, qword [rsp + 0x38]
mov edx, 4
call fcn.140003b49
lea rax, [rbx + 0x70]
mov qword [rsp + 0x90], rax
xor ecx, ecx
xor eax, eax
mov rdi, rbx
cpuid
xchg rbx, rdi
mov ebx, edx
mov ebp, ecx
mov ecx, 0xc
call fcn.14001c557
lea r14, [rsp + 0xb8]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov rcx, r14
mov edx, edi
call fcn.14005eef3
mov rcx, r14
mov edx, ebx
call fcn.14005eef3
mov rcx, r14
mov edx, ebp
call fcn.14005eef3
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
cmp rdx, rsi
je 0x14005eb63
cmp byte [rcx + rsi], 0
je 0x14005eb66
inc rsi
jmp 0x14005eb53
mov rsi, rdx
lea r9, [0x1402595a0]
mov r8, rsi
call fcn.14005ef38
mov r8, rdx
lea rsi, [rsp + 0x100]
mov rcx, rsi
mov rdx, rax
call fcn.14000ef40
cmp qword [rsi], 0
je 0x14005ebb8
movsx rax, word [rsp + 0x160]
cmp rax, 0xe
ja 0x14005ebca
lea rcx, [0x14025a020]
mov r12, qword [rcx + rax*8]
lea rcx, [0x14025a098]
mov rsi, qword [rcx + rax*8]
jmp 0x14005ebd7
mov rsi, qword [rsp + 0x108]
mov r12, qword [rsp + 0x110]
jmp 0x14005ebd7
lea rsi, [0x140259574]
mov r12d, 7
mov rcx, r12
call fcn.14001c557
mov qword [rsp + 0x68], rax
mov rcx, rdx
mov qword [rsp + 0x60], rdx
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
call fcn.1400603fd
mov esi, dword [rsp + 0x180]
test r15b, r15b
je 0x14005ec3a
lea rdi, [rsp + 0x98]
mov rcx, rdi
mov rdx, rsi
call fcn.14005ef58
mov rax, qword [rdi + 8]
mov qword [rsp + 0x70], rax
mov rbx, qword [rdi + 0x10]
jmp 0x14005ec64
mov rcx, rsi
mov dl, 1
call fcn.14005c937
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rsi
mov rbx, rsi
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.140058e5e
test rax, rax
je 0x14005eed6
mov r14, rax
lea rax, [rsp + 0x78]
mov qword [rax], rsi
mov qword [rax + 8], r14
and qword [rax + 0x10], 0
shl rbx, 3
xor ebp, ebp
mov r15d, 1
test rbx, rbx
je 0x14005ee25
mov qword [rsp + 0xb0], r15
lea rax, str.CPU
mov qword [rsp + 0xb8], rax
mov eax, 1
mov qword [rsp + 0xc0], rax
and qword [rsp + 0xd8], 0
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000d910]
mov qword [rsp + 0x38], rcx
lea rsi, [rsp + 0x30]
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x148]
lea rdi, [rsp + 0xb8]
mov rdx, rdi
call fcn.140058c9a
mov rcx, rsi
mov rdx, qword [rsp + 0x60]
mov r13, r12
mov r8, r12
call fcn.14000d2e0
mov rcx, rdi
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x58]
call fcn.14000d2e0
mov rax, qword [rsp + 0x70]
mov r12, qword [rax + r15*8 - 8]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x148]
movaps xmmword [rsp + 0x100], xmm0
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x118]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 0x28], rax
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rcx + 0x18], xmm0
mov ecx, 9
lea rsi, [rsp + 0x100]
rep movsq qword [rdi], qword [rsi]
cmp rbp, qword [rsp + 0x78]
jne 0x14005edd1
lea rcx, [rsp + 0x78]
mov rdx, rbp
call fcn.14005cd00
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
imul rax, rbp, 0x70
lea rdi, [r14 + rax]
mov ecx, 9
lea rsi, [rsp + 0xb8]
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0x8000000000000000
mov qword [r14 + rax + 0x48], rcx
mov qword [r14 + rax + 0x60], r12
and dword [r14 + rax + 0x68], 0
mov rbp, qword [rsp + 0x88]
inc rbp
mov qword [rsp + 0x88], rbp
inc r15
add rbx, 0xfffffffffffffff8
mov r12, r13
jmp 0x14005eca1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
call fcn.14005c9a0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
call fcn.1400603fd
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.1400603fd
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.14005ce64
mov rcx, qword [rdi + 0x70]
mov rdx, rsi
call fcn.14005ceba
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rcx], xmm0
mov al, byte [rsp + 0x27]
mov byte [rdi + 0x88], al
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rdx, rdi
call fcn.14000bfa0
mov ecx, 4
mov edx, 0x50
call fcn.14000bfa0
int3