Function at 0x140032a10
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, 0x158
cmp qword [rcx + 0x80], 0
jne 0x1400332df
mov r12d, edx
mov r13, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r15d, word [rsp + 0x120]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0x100], r13
jb 0x140032c1b
mov esi, eax
mov word [rsp + 0x48], r15w
movzx eax, byte [0x14006ec58]
xor edi, edi
mov edx, 0x50
xor ecx, ecx
call fcn.14002f810
test rax, rax
je 0x14003336d
mov r8, rax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop dword [rax + rax]
cmp ebp, esi
adc r13d, 0
xor ecx, ecx
mov eax, ebp
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x28]
jne 0x140032b19
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.1400382c0
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rax, rdi
shl rax, 4
inc rdi
mov dword [r8 + rax], r12d
mov dword [r8 + rax + 4], ebx
mov dword [r8 + rax + 8], r15d
mov dword [r8 + rax + 0xc], r14d
mov qword [rsp + 0x38], rdi
cmp ebp, esi
jae 0x140032b47
mov ebp, r13d
cmp r13d, esi
jbe 0x140032ae0
movzx eax, byte [0x14006ec58]
mov edx, 0x30
xor ecx, ecx
call fcn.14002f810
test rax, rax
je 0x14003337c
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
mov r15, qword [rsp + 0x30]
cmp rdi, 3
jb 0x140032c65
shl rdi, 4
add rdi, r15
mov edx, dword [r15 + 0x20]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140038200
mov edx, dword [r15 + 0x24]
mov rcx, rsi
call fcn.140038200
mov edx, dword [r15 + 0x28]
mov rcx, rsi
call fcn.140038200
lea rbx, [r15 + 0x2c]
xor r14d, r14d
nop word cs:[rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.140038200
cmp r14, 0x20
je 0x140032c2c
lea r12, [rbx + r14]
add r12, 4
cmp r12, rdi
je 0x140032c2c
mov edx, dword [r12]
mov rcx, rsi
call fcn.140038200
mov edx, dword [r12 + 4]
mov rcx, rsi
call fcn.140038200
mov edx, dword [r12 + 8]
mov rcx, rsi
call fcn.140038200
add r14, 0x10
jmp 0x140032bd0
mov eax, 1
mov qword [rsp + 0x40], rax
xor edi, edi
jmp 0x140032cd5
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140032c65
xor r8d, r8d
movzx r12d, byte [rsp + 0x27]
nop word cs:[rax + rax]
cmp byte [rsi + r8], 0
je 0x1400332fe
inc r8
cmp rdx, r8
jne 0x140032c50
jmp 0x140032c6d
xor edx, edx
movzx r12d, byte [rsp + 0x27]
mov r8, rdx
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140008360
cmp qword [rsp + 0xa0], 0
je 0x140032e85
mov eax, 1
mov qword [rsp + 0x40], rax
xor edi, edi
cmp qword [rsp + 0x50], 0
je 0x140032cb5
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x28], 0
je 0x140032ccf
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx r15d, word [rsp + 0x48]
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x14006ec58]
mov edx, 0xc
xor ecx, ecx
call fcn.14002f810
test rax, rax
je 0x140033351
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea r14, [rsp + 0x50]
mov rcx, r14
mov edx, ebp
call fcn.140038200
mov rcx, r14
mov edx, ebx
call fcn.140038200
mov rcx, r14
mov edx, esi
call fcn.140038200
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140032d6c
xor ecx, ecx
nop dword [rax]
cmp byte [rsi + rcx], 0
je 0x140032d60
inc rcx
cmp r8, rcx
jne 0x140032d50
jmp 0x140032d6c
cmp rcx, r8
ja 0x14003338b
mov r8, rcx
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140008360
cmp qword [rsp + 0xa0], 0
je 0x140032daa
cmp r15w, 0xe
ja 0x140032de7
movsx rax, r15w
lea rcx, [0x14005dfc8]
mov r15, qword [rcx + rax*8]
lea rcx, str.Intel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.30.5_srcwindowscpu.rs
mov rbx, qword [rcx + rax*8]
jmp 0x140032df4
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
test r15, r15
je 0x1400332f3
js 0x14003333f
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, r15
call fcn.14002f810
mov r14, rax
test rax, rax
jne 0x140032e11
jmp 0x140033344
lea rbx, [0x14005d8ca]
mov r15d, 7
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, r15
call fcn.14002f810
test rax, rax
je 0x140033344
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14003bd90
cmp qword [rsp + 0x50], 0
je 0x140032e39
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [rsp + 0x140]
test r12b, r12b
je 0x140032e5a
lea rcx, [rsp + 0xe8]
mov rdx, rsi
call fcn.140038380
jmp 0x140032eeb
test esi, esi
je 0x140032ece
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.14002f810
test rax, rax
jne 0x140032ed3
mov ecx, 8
mov rdx, rbx
call fcn.140049ae0
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x140033319
js 0x14003333f
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, rdi
call fcn.14002f810
mov rcx, rax
test rax, rax
jne 0x14003331e
mov ecx, 1
mov rdx, rdi
call fcn.140049ae0
mov eax, 8
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x48], r14
lea rbx, [rsi + 1]
imul rsi, rbx, 0x70
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, rsi
call fcn.14002f810
test rax, rax
je 0x140033360
mov r13, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov rbx, qword [rsp + 0xf8]
test rbx, rbx
je 0x140033179
mov rsi, qword [rsp + 0xf0]
shl rbx, 3
mov r12d, 1
xor ebp, ebp
jmp 0x140032fe0
imul rax, rbp, 0x70
mov rcx, qword [rsp + 0x90]
mov qword [r13 + rax + 0x40], rcx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movups xmmword [r13 + rax + 0x30], xmm3
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movups xmmword [r13 + rax], xmm0
movabs rcx, 0x8000000000000000
mov qword [r13 + rax + 0x48], rcx
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r13 + rax + 0x50], xmm0
mov qword [r13 + rax + 0x60], r14
mov dword [r13 + rax + 0x68], 0
inc rbp
mov qword [rsp + 0x38], rbp
inc r12
add rbx, 0xfffffffffffffff8
je 0x140033179
mov qword [rsp + 0x108], r12
lea rax, [rsp + 0x108]
mov qword [rsp + 0x110], rax
lea rax, [fcn.140007160]
mov qword [rsp + 0x118], rax
lea rax, str.CPU
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.140006df0
mov r14d, 1
test r15, r15
je 0x14003307b
js 0x14003333f
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, r15
call fcn.14002f810
mov r14, rax
test rax, rax
je 0x140033344
mov rcx, r14
mov rdx, qword [rsp + 0x48]
mov r8, r15
call fcn.14003bd90
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
test rdi, rdi
je 0x1400330d0
js 0x14003333f
movzx eax, byte [0x14006ec58]
xor ecx, ecx
mov rdx, rdi
call fcn.14002f810
mov r14, rax
test rax, rax
jne 0x1400330d6
jmp 0x140032ec1
mov r14d, 1
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8, rdi
call fcn.14003bd90
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], rdi
mov r14, qword [rsi + r12*8 - 8]
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
cmp rbp, qword [rsp + 0x28]
jne 0x140032f60
lea rcx, [rsp + 0x28]
mov rdx, rbp
call fcn.140038520
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
jmp 0x140032f60
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xe8], 0
je 0x1400331c2
mov r8, qword [rsp + 0xf0]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
movzx ebp, byte [rsp + 0x27]
mov r12, qword [rsp + 0x100]
je 0x1400331e8
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r15, r15
je 0x140033201
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdi, [r12 + 0x70]
mov rsi, qword [r12 + 0x78]
mov rbx, qword [r12 + 0x80]
test rbx, rbx
je 0x1400332a8
lea r14, [rsi + 0x50]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140033239
add r14, 0x70
dec rbx
je 0x1400332a8
cmp qword [r14 - 0x50], 0
je 0x140033250
mov r8, qword [r14 - 0x48]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call r15
mov rax, qword [r14 - 8]
shl rax, 1
test rax, rax
jne 0x140033290
cmp qword [r14 - 0x38], 0
je 0x140033273
mov r8, qword [r14 - 0x30]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call r15
cmp qword [r14 - 0x20], 0
je 0x140033230
mov r8, qword [r14 - 0x18]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call r15
jmp 0x140033230
mov r8, qword [r14]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call r15
cmp qword [r14 - 0x38], 0
jne 0x140033263
jmp 0x140033273
cmp qword [rdi], 0
je 0x1400332c0
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
mov byte [r12 + 0x88], bpl
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x140032e11
cmp r8, rdx
jbe 0x140032c70
lea rax, [0x14005d940]
mov rcx, r8
mov r8, rax
call fcn.140049cf0
mov ecx, 1
mov qword [rsp + 0x40], rcx
mov rdx, rbx
mov r8, rdi
call fcn.14003bd90
cmp qword [rsp + 0x50], 0
jne 0x140032ca3
jmp 0x140032cb5
call fcn.140006a80
mov ecx, 1
mov rdx, r15
call fcn.140049ae0
mov ecx, 1
mov edx, 0xc
call fcn.140049ae0
mov ecx, 8
mov rdx, rsi
call fcn.140049ae0
mov ecx, 4
mov edx, 0x50
call fcn.140049ae0
mov ecx, 1
mov edx, 0x30
call fcn.140049ae0
lea rax, [0x14005d958]
mov rdx, r8
mov r8, rax
call fcn.140049cf0
int3