Function at 0x140042e1b
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, 0x178
cmp qword [rcx + 0x80], 0
jne 0x14004342d
mov r13d, edx
push rcx
nop
pop rbx
xorps xmm0, xmm0
lea rcx, [rsp + 0x140]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.KERNEL32.dll_GetSystemInfo
mov eax, 0x80000000
sub ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000003
mov byte [rsp + 0x2f], r13b
mov qword [rsp + 0x68], rbx
jbe 0x140042f29
mov dword [rsp + 0x30], eax
mov ecx, 4
mov edx, 0x50
call fcn.14000bf3f
test rax, rax
je 0x14004344e
mov r8, rax
lea rax, [rsp + 0x38]
mov qword [rax], 5
mov qword [rax + 8], r8
mov eax, 0x80000000
mov r12d, 0xc
xor r15d, r15d
xor r13d, r13d
mov r9d, dword [rsp + 0x30]
mov qword [rsp + 0x48], r15
test r13b, 1
jne 0x140042f43
cmp eax, r9d
ja 0x140042f43
setae r13b
mov edi, eax
adc edi, 0
xor ecx, ecx
push rbx
nop
pop rsi
cpuid
xchg rbx, rsi
mov ebx, ecx
mov ebp, edx
mov r14d, eax
cmp r15, qword [rsp + 0x38]
jne 0x140042f0b
lea rcx, [rsp + 0x38]
call fcn.14003e729
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov dword [r8 + r12 - 0xc], r14d
mov dword [r8 + r12 - 8], esi
mov dword [r8 + r12 - 4], ebx
mov dword [r8 + r12], ebp
inc r15
add r12, 0x10
mov eax, edi
jmp 0x140042ec6
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14004309f
lea rdi, [rsp + 0x88]
mov edx, 0x30
mov rcx, rdi
call fcn.140042dd5
mov rsi, qword [rsp + 0x40]
shl r15, 4
add r15, rsi
mov eax, 2
mov ebx, 5
sub ecx, ecx
mov r14, rsi
mov r13b, byte [rsp + 0x2f]
test cl, 1
je 0x140042f8c
test rbx, rbx
je 0x140042fec
cmp r14, r15
je 0x140042fec
dec rbx
jmp 0x140042fb0
cmp rbx, rax
jbe 0x140042fec
mov rcx, r15
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x140042fec
nop
push rax
pop rcx
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
lea r12, [r14 + 0x10]
mov edx, dword [r14]
push rdi
nop
pop rcx
call fcn.14004345e
mov edx, dword [r14 + 4]
push rdi
pop rcx
nop
call fcn.14004345e
mov edx, dword [r14 + 8]
push rdi
nop
pop rcx
call fcn.14004345e
mov edx, dword [r14 + 0xc]
push rdi
pop rcx
nop
call fcn.14004345e
mov cl, 1
mov r14, r12
xor eax, eax
jmp 0x140042f78
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
sub r8d, r8d
cmp rdx, r8
je 0x140043010
cmp byte [rdi + r8], 0
je 0x140043013
inc r8
jmp 0x140042fff
mov r8, rdx
lea r9, str._home_omnipotent_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
push rdi
pop rcx
nop
call fcn.1400434a3
mov r8, rdx
lea rbx, [rsp + 0xf8]
push rbx
pop rcx
nop
push rax
nop
pop rdx
call fcn.140004f00
cmp qword [rbx], 0
je 0x140043055
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14004306f
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
lea rcx, [rsp + 0x50]
call fcn.140039f5f
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
mov rdx, rdi
call fcn.14000c2be
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14004309f
shl r8, 4
mov edx, 4
mov rcx, rsi
call fcn.14000155c
lea rax, [rbx + 0x70]
mov qword [rsp + 0xe0], rax
sub edi, edi
sub ecx, ecx
sub eax, eax
push rbx
nop
pop rsi
cpuid
xchg rbx, rsi
mov ebx, edx
mov ebp, ecx
lea r14, [rsp + 0x38]
mov edx, 0xc
mov rcx, r14
call fcn.140042dd5
mov rcx, r14
mov edx, esi
call fcn.14004345e
mov rcx, r14
mov edx, ebx
call fcn.14004345e
mov rcx, r14
mov edx, ebp
call fcn.14004345e
mov rsi, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
cmp rdx, rdi
je 0x140043105
cmp byte [rsi + rdi], 0
je 0x140043108
inc rdi
jmp 0x1400430f5
push rdx
pop rdi
nop
lea r9, str._home_omnipotent_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rsi
mov r8, rdi
call fcn.1400434a3
mov r8, rdx
lea rdi, [rsp + 0xf8]
nop
push rdi
pop rcx
push rax
pop rdx
nop
call fcn.140004f00
cmp qword [rdi], 0
je 0x14004315f
movzx eax, word [rsp + 0x140]
cmp rax, 0xe
ja 0x140043171
shl eax, 3
lea rcx, [0x1409966c0]
mov r8, qword [rax + rcx]
lea rcx, [0x140996738]
mov rdx, qword [rax + rcx]
jmp 0x14004317e
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
jmp 0x14004317e
lea rdx, [0x14099604f]
mov r8d, 7
lea rcx, [rsp + 0x88]
call fcn.140039f5f
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x38]
push rsi
nop
pop rdx
call fcn.14000c2be
mov esi, dword [rsp + 0x160]
lea rcx, [rsp + 0x38]
mov rdx, rsi
test r13b, r13b
je 0x140043201
call fcn.1400434c3
jmp 0x140043206
call fcn.14003e6df
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
push rdi
pop rdx
nop
call fcn.14000bf3f
or rax, rax
je 0x140043441
nop
push rax
pop rbx
lea rax, [rsp + 0xb8]
mov qword [rax], rsi
mov qword [rax + 8], rbx
and qword [rax + 0x10], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov r12, qword [rsp + 0x48]
shl r12, 3
mov r13d, 0xd
xor esi, esi
lea r14, [rsp + 0xf8]
or r12, r12
je 0x140043378
lea r15, [rsi + 1]
mov qword [rsp + 0xf0], r15
lea rax, str.CPU
mov qword [rsp + 0x88], rax
mov ecx, 1
mov qword [rsp + 0x90], rcx
and qword [rsp + 0xa8], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x50], rax
lea rax, [fcn.140003b20]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
mov rcx, r14
lea rdx, [rsp + 0x88]
call fcn.140039f1a
lea rcx, [rsp + 0x110]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
call fcn.140003800
lea rcx, [rsp + 0x128]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x80]
call fcn.140003800
mov rax, qword [rsp + 0xe8]
mov rbp, qword [rax + rsi*8]
cmp rsi, qword [rsp + 0xb8]
jne 0x140043334
lea rcx, [rsp + 0xb8]
call fcn.14003e879
mov rbx, qword [rsp + 0xc0]
lea rax, [rbx + r13*8]
add rax, 0xffffffffffffff98
mov ecx, 9
mov rdi, rax
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0x8000000000000000
mov qword [rax + 0x48], rcx
mov qword [rax + 0x60], rbp
and dword [rax + 0x68], 0
mov qword [rsp + 0xc8], r15
add r13, 0xe
add r12, 0xfffffffffffffff8
mov rsi, r15
jmp 0x140043260
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.14003e4d4
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
push rsi
pop rcx
nop
call fcn.14003ea85
mov rcx, qword [rdi + 0x70]
push rsi
nop
pop rdx
call fcn.14003ebef
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rcx], xmm0
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
call fcn.14000c2be
mov rax, qword [rsp + 0xd0]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x28], rax
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x38]
call fcn.14000c2be
mov rax, qword [rsp + 0xd8]
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x38], rax
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x40], rax
mov al, byte [rsp + 0x2f]
mov byte [rdi + 0x88], al
add rsp, 0x178
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.140002e60
mov ecx, 4
mov edx, 0x50
call fcn.140002e60
int3