Function at 0x14004d1f9
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, 0x1d8
cmp qword [rcx + 0x80], 0
jne 0x14004d886
mov ebp, edx
mov r14, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x1a0]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.kernel32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rsp + 0x80], eax
cmp eax, 0x80000003
mov byte [rsp + 0x27], bpl
mov qword [rsp + 0xb8], r14
jbe 0x14004d306
mov ecx, 4
mov edx, 0x50
call fcn.140045162
test rax, rax
je 0x14004d8a9
mov r8, rax
lea rax, [rsp + 0x28]
mov qword [rax], 5
mov qword [rax + 8], r8
mov eax, 0x80000000
mov r12d, 0xc
xor r15d, r15d
xor r13d, r13d
mov qword [rsp + 0x38], r15
test r13b, 1
jne 0x14004d320
cmp eax, dword [rsp + 0x80]
ja 0x14004d320
setae r13b
mov edi, eax
adc edi, 0
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebx, ecx
mov ebp, edx
mov r14d, eax
cmp r15, qword [rsp + 0x28]
jne 0x14004d2e8
lea rcx, [rsp + 0x28]
call fcn.14004afb4
mov r8, qword [rsp + 0x30]
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 0x14004d2a4
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
and qword [rsp + 0x50], 0
jmp 0x14004d476
lea rcx, [rsp + 0x88]
mov edx, 0x30
call fcn.14004d1b6
mov rdi, qword [rsp + 0x30]
shl r15, 4
add r15, rdi
mov eax, 2
mov ebx, 5
xor r12d, r12d
lea rsi, [rsp + 0x88]
mov r14, rdi
test r12b, 1
je 0x14004d36b
test rbx, rbx
je 0x14004d3c9
cmp r14, r15
je 0x14004d3c9
dec rbx
jmp 0x14004d38f
cmp rbx, rax
jbe 0x14004d3c9
mov rcx, r15
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x14004d3c9
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
mov edx, dword [r14]
mov rcx, rsi
call fcn.14004d9db
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.14004d9db
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.14004d9db
mov edx, dword [r14 + 0xc]
add r14, 0x10
mov r12b, 1
mov rcx, rsi
call fcn.14004d9db
xor eax, eax
jmp 0x14004d356
mov rbx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
mov bpl, byte [rsp + 0x27]
mov r14, qword [rsp + 0xb8]
cmp rdx, r8
je 0x14004d3fa
cmp byte [rbx + r8], 0
je 0x14004d3fd
inc r8
jmp 0x14004d3e9
mov r8, rdx
lea r9, str._home_anon_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rbx
call fcn.14004da20
mov r8, rdx
lea rsi, [rsp + 0x130]
mov rcx, rsi
mov rdx, rax
call fcn.14000b030
cmp qword [rsi], 0
je 0x14004d43f
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
and qword [rsp + 0x50], 0
jmp 0x14004d459
mov rdx, qword [rsp + 0x138]
mov r8, qword [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140045925
mov rcx, qword [rsp + 0x88]
mov rdx, rbx
call fcn.14001203c
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.14004b51f
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov edi, edx
mov esi, ecx
lea rcx, [rsp + 0x28]
mov edx, 0xc
call fcn.14004d1b6
lea rcx, [rsp + 0x28]
mov edx, ebx
call fcn.14004d9db
lea rcx, [rsp + 0x28]
mov edx, edi
call fcn.14004d9db
lea r13, [rsp + 0x28]
mov rcx, r13
mov edx, esi
call fcn.14004d9db
lea rbx, [r14 + 0x70]
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
cmp rdx, r8
je 0x14004d4de
cmp byte [rsi + r8], 0
je 0x14004d4e1
inc r8
jmp 0x14004d4cd
mov r8, rdx
lea r9, str._home_anon_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_cpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rsi
call fcn.14004da20
mov r8, rdx
lea rdi, [rsp + 0x130]
mov rcx, rdi
mov rdx, rax
call fcn.14000b030
cmp qword [rdi], 0
je 0x14004d535
movzx eax, word [rsp + 0x1a0]
cmp rax, 0xe
ja 0x14004d546
lea rcx, [0x1403ebfa0]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
lea rcx, [0x1403ebfe0]
lea rax, [rcx + rax*8]
jmp 0x14004d541
lea rax, [rsp + 0x140]
mov rdx, qword [rax - 8]
mov r8, qword [rax]
jmp 0x14004d553
mov r8d, 7
lea rdx, [0x1403ebac8]
lea rcx, [rsp + 0x88]
call fcn.140045925
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.14001203c
mov edi, dword [rsp + 0x1c0]
test bpl, bpl
je 0x14004d5d6
lea rcx, [rsp + 0xe8]
mov rdx, rdi
call fcn.14004da40
jmp 0x14004d5e6
lea rcx, [rsp + 0xe8]
mov rdx, rdi
call fcn.14004ae8b
mov qword [rsp + 0x120], rbx
inc rdi
imul rbx, rdi, 0x70
mov ecx, 8
mov rdx, rbx
call fcn.140045162
test rax, rax
je 0x14004d89a
mov r12, rax
lea rax, [rsp + 0xd0]
mov qword [rax], rdi
mov qword [rax + 8], r12
and qword [rax + 0x10], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xf8]
shl rax, 3
xor r15d, r15d
xor edi, edi
test rax, rax
je 0x14004d7c5
mov qword [rsp + 0x80], rax
lea rbx, [rdi + 1]
mov qword [rsp + 0x128], rbx
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 + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [fcn.140009cb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x88]
call fcn.140001e46
mov rcx, r13
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0xc8]
call fcn.140009b10
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xc0]
call fcn.140009b10
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + rdi*8]
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], rbp
mov qword [rsp + 0x140], rsi
and dword [rsp + 0x198], 0
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x178], rcx
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x148]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0x98]
mov qword [rdx + 0x28], rcx
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x190], rax
cmp rdi, qword [rsp + 0xd0]
jne 0x14004d78e
lea rcx, [rsp + 0xd0]
call fcn.14004b112
mov r12, qword [rsp + 0xd8]
lea rcx, [r12 + r15]
mov r8d, 0x70
lea rdx, [rsp + 0x130]
call sub.msvcrt.dll_memmove
mov qword [rsp + 0xe0], rbx
add r15, 0x70
mov rax, qword [rsp + 0x80]
add rax, 0xfffffffffffffff8
mov rdi, rbx
jmp 0x14004d640
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x58]
call fcn.140001d52
mov rdi, qword [rsp + 0x120]
mov rcx, rdi
call fcn.140001c62
mov rax, qword [rsp + 0x110]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x20]
call fcn.14001203c
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsi + 0x28], rax
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
call fcn.14001203c
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsi + 0x40], rax
mov al, byte [rsp + 0x27]
mov byte [rsi + 0x88], al
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rdx, rbx
call fcn.140008e20
ud2
mov ecx, 4
mov edx, 0x50
call fcn.140008e20
jmp 0x14004d91e
mov rsi, rax
jmp 0x14004d9be
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.14004b51f
mov rcx, rsi
call fcn.14004fa70
call fcn.14000bac0
int3