Function at 0x14012ba7a
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 0x14012c08c
mov r13d, edx
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x140]
add dword [rax], eax
add byte [rdi], cl
sub dword [rcx + 0x20], eax
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
cmp eax, 0x80000003
add eax, dword [rax]
add byte [rax + 0x246c8844], al
invalid
mov qword [rsp + 0x68], rbx
jbe 0x14012bb88
mov dword [rsp + 0x30], eax
mov ecx, 4
add al, 0
add byte [rax], al
mov edx, 0x50
call fcn.1400d07a2
test rax, rax
je 0x14012c0ad
mov r8, rax
lea rax, [rsp + 0x38]
mov qword [rax], 5
mov qword [rax + 8], r8
mov eax, 0x80000000
mov r12d, listen
xor r15d, r15d
xor r13d, r13d
mov r9d, dword [rsp + 0x30]
mov qword [rsp + 0x48], r15
test r13b, 1
jne 0x14012bba2
cmp eax, r9d
ja 0x14012bba2
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 0x14012bb6a
lea rcx, [rsp + 0x38]
call fcn.140129f8f
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 0x14012bb25
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14012bcfe
lea rdi, [rsp + 0x88]
mov edx, 0x30
mov rcx, rdi
call fcn.14012ba34
mov rsi, qword [rsp + 0x40]
shl r15, 4
add r15, rsi
mov eax, 2
mov ebx, 5
xor ecx, ecx
mov r14, rsi
mov r13b, byte [rsp + 0x2f]
test cl, 1
je 0x14012bbeb
test rbx, rbx
je 0x14012bc4b
cmp r14, r15
je 0x14012bc4b
dec rbx
jmp 0x14012bc0f
cmp rbx, rax
jbe 0x14012bc4b
mov rcx, r15
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x14012bc4b
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.14012c0bd
mov edx, dword [r14 + 4]
mov rcx, rdi
call fcn.14012c0bd
mov edx, dword [r14 + 8]
mov rcx, rdi
call fcn.14012c0bd
mov edx, dword [r14 + 0xc]
mov rcx, rdi
call fcn.14012c0bd
mov cl, 1
mov r14, r12
xor eax, eax
jmp 0x14012bbd7
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
cmp rdx, r8
je 0x14012bc6f
cmp byte [rdi + r8], 0
je 0x14012bc72
inc r8
jmp 0x14012bc5e
mov r8, rdx
lea r9, str.C:UsersTwirlanta.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowscpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86ARM_x64
mov rcx, rdi
call fcn.14012c102
mov r8, rdx
lea rbx, [rsp + 0xf8]
mov rcx, rbx
mov rdx, rax
call fcn.14006a560
cmp qword [rbx], 0
je 0x14012bcb4
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
jmp 0x14012bcce
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
lea rcx, [rsp + 0x50]
call fcn.140126d0e
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
mov rdx, rdi
call fcn.1400a3a56
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14012bcfe
shl r8, 4
mov edx, 4
mov rcx, rsi
call fcn.14001ab72
lea rax, [rbx + 0x70]
mov qword [rsp + 0xe0], rax
xor edi, edi
xor eax, eax
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebx, edx
mov ebp, ecx
lea r14, [rsp + 0x38]
mov edx, listen
mov rcx, r14
call fcn.14012ba34
mov rcx, r14
mov edx, esi
call fcn.14012c0bd
mov rcx, r14
mov edx, ebx
call fcn.14012c0bd
mov rcx, r14
mov edx, ebp
call fcn.14012c0bd
mov rsi, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
cmp rdx, rdi
je 0x14012bd64
cmp byte [rsi + rdi], 0
je 0x14012bd67
inc rdi
jmp 0x14012bd54
mov rdi, rdx
lea r9, str.C:UsersTwirlanta.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowscpu.rsTotal_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86ARM_x64
mov rcx, rsi
mov r8, rdi
call fcn.14012c102
mov r8, rdx
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov rdx, rax
call fcn.14006a560
cmp qword [rdi], 0
je 0x14012bdbe
movzx eax, word [rsp + 0x140]
cmp rax, 0xe
ja 0x14012bdd0
lea rcx, reloc.WS2_32.dll_htons
mov r8, qword [rcx + rax*8]
movzx eax, ax
lea rcx, [0x1403d8940]
mov rdx, qword [rcx + rax*8]
jmp 0x14012bddd
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
jmp 0x14012bddd
lea rdx, [0x1403d6b62]
mov r8d, 7
add byte [rax], al
invalid
lea rcx, [rsp + 0x88]
call fcn.140126d0e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd0], rax
test byte [rax + rdx*8], ah
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rdx*4], ah
add byte [rax], al
add byte [rax - 0x77], cl
and al, 0x78
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]
and al, 0x60
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.1400a3a56
mov esi, dword [rsp + 0x160]
lea rcx, [rsp + 0x38]
mov rdx, rsi
test r13b, r13b
je 0x14012be60
call fcn.14012c122
jmp 0x14012be65
call fcn.140129dbe
inc rsi
imul rdi, rsi, 0x70
mov ecx, 8
mov rdx, rdi
call fcn.1400d07a2
test rax, rax
je 0x14012c0a0
invalid
add al, byte [rax]
invalid
mov rbx, rax
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
call 0x18c12bea7
mov esp, dword [rsp + 0x48]
shl r12, 3
mov r13d, reloc.WS2_32.dll_listen
xor esi, esi
lea r14, [rsp + 0xf8]
test r12, r12
je 0x14012bfd7
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.1400650f0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
and al, 0x50
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
mov rcx, r14
lea rdx, [rsp + 0x88]
and al, 0x88
add byte [rax], al
add al, ch
lodsb al, byte [rsi]
mov cl, 0xff
dec dword [rax - 0x73]
mov word [rax + rdx], fs
add dword [rax], eax
add byte [rax - 0x75], cl
push rsp
and al, 0x78
mov r8, qword [rsp + 0x70]
call fcn.140062730
lea rcx, [rsp + 0x128]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x80]
call fcn.140062730
mov rax, qword [rsp + 0xe8]
mov rbp, qword [rax + rsi*8]
cmp rsi, qword [rsp + 0xb8]
jne 0x14012bf93
lea rcx, [rsp + 0xb8]
call fcn.140016293
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 0x14012bebf
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.140059b08
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.14012a0e5
mov rcx, qword [rdi + 0x70]
mov rdx, rsi
call fcn.14000b73a
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.1400a3a56
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.1400a3a56
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.1402df2b0
mov ecx, 4
mov edx, 0x50
call fcn.1402df2b0
int3