Function at 0x14003ba74
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, 0x188
cmp qword [rcx + 0x10], 0
jne 0x14003c03f
mov r15d, edx
mov qword [rsp + 0x98], rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x150]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000003
mov byte [rsp + 0x2f], r15b
jbe 0x14003bb80
mov dword [rsp + 0x30], eax
mov ecx, 4
mov edx, 0x50
call fcn.140033b49
test rax, rax
je 0x14003c060
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 0x14003bb9a
cmp eax, r9d
ja 0x14003bb9a
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 + 0x38]
jne 0x14003bb62
lea rcx, [rsp + 0x38]
call fcn.140039eac
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 0x14003bb1d
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14003bcf1
lea rdi, [rsp + 0xc0]
mov edx, 0x30
mov rcx, rdi
call fcn.14003ba31
mov rsi, qword [rsp + 0x40]
shl r15, 4
add r15, rsi
mov eax, 2
mov ebx, 5
xor ecx, ecx
mov r14, rsi
test cl, 1
je 0x14003bbde
test rbx, rbx
je 0x14003bc3e
cmp r14, r15
je 0x14003bc3e
dec rbx
jmp 0x14003bc02
cmp rbx, rax
jbe 0x14003bc3e
mov rcx, r15
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x14003bc3e
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
lea r12, [r14 + 0x10]
mov edx, dword [r14]
mov rcx, rdi
call fcn.14003c070
mov edx, dword [r14 + 4]
mov rcx, rdi
call fcn.14003c070
mov edx, dword [r14 + 8]
mov rcx, rdi
call fcn.14003c070
mov edx, dword [r14 + 0xc]
mov rcx, rdi
call fcn.14003c070
mov cl, 1
mov r14, r12
xor eax, eax
jmp 0x14003bbca
mov rdi, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
xor r8d, r8d
mov r15b, byte [rsp + 0x2f]
cmp rdx, r8
je 0x14003bc67
cmp byte [rdi + r8], 0
je 0x14003bc6a
inc r8
jmp 0x14003bc56
mov r8, rdx
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.32.0_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rdi
call fcn.14003c0b5
mov r8, rdx
lea rbx, [rsp + 0x108]
mov rcx, rbx
mov rdx, rax
call fcn.14000d4c0
cmp qword [rbx], 0
je 0x14003bcac
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14003bcc6
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
lea rcx, [rsp + 0x50]
call fcn.140033791
mov rcx, qword [rsp + 0xc0]
mov rdx, rdi
call case.0x14002dd08.180
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14003bcf1
shl r8, 4
mov edx, 4
mov rcx, rsi
call fcn.140001bf8
xor edi, edi
xor ecx, ecx
xor eax, eax
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebx, edx
mov ebp, ecx
lea r14, [rsp + 0x38]
mov edx, 0xc
mov rcx, r14
call fcn.14003ba31
mov rcx, r14
mov edx, esi
call fcn.14003c070
mov rcx, r14
mov edx, ebx
call fcn.14003c070
mov rcx, r14
mov edx, ebp
call fcn.14003c070
mov rsi, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
cmp rdx, rdi
je 0x14003bd4b
cmp byte [rsi + rdi], 0
je 0x14003bd4e
inc rdi
jmp 0x14003bd3b
mov rdi, rdx
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.32.0_srcwindowscpu.rsIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rcx, rsi
mov r8, rdi
call fcn.14003c0b5
mov r8, rdx
lea rdi, [rsp + 0x108]
mov rcx, rdi
mov rdx, rax
call fcn.14000d4c0
cmp qword [rdi], 0
je 0x14003bda5
movzx eax, word [rsp + 0x150]
cmp rax, 0xe
ja 0x14003bdb7
lea rcx, [0x140057380]
mov r8, qword [rcx + rax*8]
movzx eax, ax
lea rcx, [0x1400573f8]
mov rdx, qword [rcx + rax*8]
jmp 0x14003bdc4
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
jmp 0x14003bdc4
lea rdx, [0x140053e1e]
mov r8d, 7
lea rcx, [rsp + 0xc0]
call fcn.140033791
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call case.0x14002dd08.180
mov esi, dword [rsp + 0x170]
lea rcx, [rsp + 0x38]
mov rdx, rsi
test r15b, r15b
je 0x14003be4a
call fcn.14003c0d5
jmp 0x14003be4f
call fcn.140039e62
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.140033b49
test rax, rax
je 0x14003c053
lea rcx, [rsp + 0x70]
mov qword [rcx], rsi
mov qword [rcx + 8], rax
and qword [rcx + 0x10], 0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rcx
mov rbx, qword [rsp + 0x48]
shl rbx, 3
mov r15d, 0xd
xor ebp, ebp
test rbx, rbx
je 0x14003bfce
lea r14, [rbp + 1]
mov qword [rsp + 0xb8], r14
lea rcx, str.CPU_d_
mov qword [rsp + 0xc0], rcx
mov edx, 1
mov qword [rsp + 0xc8], rdx
and qword [rsp + 0xe0], 0
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x50], rcx
lea rcx, [fcn.14000b800]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rdx
lea r12, [rsp + 0x108]
mov rcx, r12
mov rsi, rax
lea rdi, [rsp + 0xc0]
mov rdx, rdi
call fcn.1400376fa
lea rcx, [rsp + 0x120]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
call fcn.14000b640
lea rcx, [rsp + 0x138]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0xa8]
call fcn.14000b640
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
mov r13, qword [rcx + rbp*8]
mov ecx, 9
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
cmp rbp, qword [rsp + 0x70]
jne 0x14003bf85
lea rcx, [rsp + 0x70]
call fcn.140039f57
mov rax, qword [rsp + 0x78]
lea rdx, [rax + r15*8]
add rdx, 0xffffffffffffff98
mov ecx, 9
mov rdi, rdx
lea rsi, [rsp + 0xc0]
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0x8000000000000000
mov qword [rdx + 0x48], rcx
and dword [rdx + 0x60], 0
mov qword [rdx + 0x68], r13
mov qword [rsp + 0x80], r14
add r15, 0xe
add rbx, 0xfffffffffffffff8
mov rbp, r14
jmp 0x14003be9b
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.1400399fc
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x68]
call case.0x14002dd08.180
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x30]
call case.0x14002dd08.180
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
mov rcx, rsi
call fcn.14003a00a
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.14003a098
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
mov al, byte [rsp + 0x2f]
mov byte [rdi + 0x38], al
add rsp, 0x188
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.140045700
mov ecx, 4
mov edx, 0x50
call fcn.140045700
int3