Function at 0x14012c0b0
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14031fcc0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
lea rax, vtable.Microsoft::Applications::Events::PlatformAbstraction::DeviceInformationImpl.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 0x18], r12
lea r15d, [r12 + 0xf]
mov qword [rcx + 0x20], r15
mov byte [rcx + 8], r12b
add rcx, 0x30
call fcn.140159cf8
nop
lea r14, [rbx + 0xa8]
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r15
mov byte [r14], r12b
lea rsi, [rbx + 0xc8]
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r15
mov byte [rsi], r12b
lea rdi, [rbx + 0xe8]
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r15
mov byte [rdi], r12b
mov qword [rbx + 0x108], r12
xor edx, edx
lea r8d, [r12 + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1400b5ba0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x58]
test ecx, ecx
je 0x14012c1a3
sub ecx, 5
je 0x14012c19c
sub ecx, 1
je 0x14012c195
lea eax, [r12 + 3]
cmp ecx, eax
je 0x14012c195
mov eax, r12d
jmp 0x14012c1a8
mov eax, 2
jmp 0x14012c1a8
mov eax, 3
jmp 0x14012c1a8
mov eax, 1
mov dword [rbx + 0x28], eax
lea rcx, [rsp + 0x58]
call fcn.14012c7dc
mov rdx, rax
mov rcx, r14
call fcn.14001f6f4
mov r15d, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14012c1ff
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x14012c1fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012c452
call fcn.1400b2b3c
movdqa xmm0, xmmword [0x1402d4290]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
mov r14d, 0x100
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b5ba0
mov dword [rsp + 0x40], r14d
mov rdx, qword [str.X_r_]
mov rcx, rsi
call fcn.140049d4c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, str.SystemManufacturer
lea rdx, str.SYSTEMCurrentControlSetControlSystemInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14012c2f3
movdqa xmm0, xmmword [0x1402d4290]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.140049d4c
nop
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14004005c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14012c2e0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x14012c2db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012c458
call fcn.1400b2b3c
movdqa xmm0, xmmword [0x1402d4290]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
mov r14d, 4
cmp dword [reloc.WS2_32.dll_accept], r14d
jl 0x14012c32b
cmp qword [rsi + 0x18], 0x10
jb 0x14012c30c
mov rsi, qword [rsi]
call fcn.14010c5bc
call fcn.14010c870
mov rdx, rax
mov r9, rsi
lea r8, str.Device_Manufacturer_s
mov ecx, r14d
call fcn.14010cc64
mov dword [rsp + 0x40], 0x100
mov rdx, qword [str.p_r_]
mov rcx, rdi
call fcn.140049d4c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, str.SystemProductName
lea rdx, str.SYSTEMCurrentControlSetControlSystemInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14012c3e4
movdqa xmm0, xmmword [0x1402d4290]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.140049d4c
nop
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14004005c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14012c3e4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x14012c3df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012c44c
call fcn.1400b2b3c
cmp dword [reloc.WS2_32.dll_accept], r14d
jl 0x14012c416
cmp qword [rdi + 0x18], 0x10
jb 0x14012c3f7
mov rdi, qword [rdi]
call fcn.14010c5bc
call fcn.14010c870
mov rdx, rax
mov r9, rdi
lea r8, str.Device_Model_s
mov ecx, r14d
call fcn.14010cc64
call fcn.14012c71c
mov dword [rbx + 0x2c], eax
mov rax, rbx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400b27c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400c7698
nop
call fcn.1400c7698
int3
call fcn.1400c7698
int3