Function at 0x1400492a0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov rax, qword [0x140120678]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [0x1400cbed0]
lea rax, [rbp - 0x29]
mov rdx, qword [str.SOFTWAREMicrosoftWindows_NTCurrentVersion]
xor r13d, r13d
mov r9d, 0x20019
mov qword [rbp - 0x29], r13
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov byte [rbp - 1], 0
movdqu xmmword [rbp + 0xf], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004938e
mov dword [rsp + 0x28], eax
lea r9, str.ERROR
lea r8, [0x1400cbd78]
mov dword [rsp + 0x20], 0x23300010
lea rdx, str.__s_____s___0x_lx__query_properties_failed__ErrorCode:_ld_r_n
lea ecx, [r13 + 3]
call fcn.14000afc0
xor r8d, r8d
mov qword [rbp - 0x11], r13
lea rdx, [0x1400cd62b]
mov qword [rbp - 9], 0xf
lea rcx, [rbp - 0x21]
mov byte [rbp - 0x21], r13b
call fcn.1400046c0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400493c1
mov rcx, qword [rbp - 1]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049387
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049595
call fcn.14009fcc0
jmp 0x1400493c1
mov rdx, qword [0x1401204b0]
lea r8, [rbp - 1]
mov rcx, qword [rbp - 0x29]
call fcn.140048230
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400493b1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rbp - 1]
movups xmm1, xmmword [rbp + 0xf]
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm1
mov rdx, qword [rbp - 0x11]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
test rdx, rdx
jne 0x14004940a
mov rdi, qword [rbp - 9]
xor sil, sil
mov rbx, qword [rbp - 0x21]
jmp 0x140049511
mov rbx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
mov rdi, qword [rbp - 9]
lea r15, [rbp - 0x21]
cmp rdi, 0x10
lea r14, [rbp - 0x21]
cmovae rcx, rbx
cmovae r15, rbx
add rcx, rdx
cmp rdi, 0x10
mov rsi, rcx
cmovae r14, rbx
sub rsi, r14
cmp r14, rcx
cmova rsi, r13
test rsi, rsi
je 0x140049472
mov rbx, r13
nop word [rax + rax]
movsx ecx, byte [rbx + r14]
call fcn.1400a98c0
mov byte [rbx + r15], al
inc rbx
cmp rbx, rsi
jne 0x140049450
mov rdi, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x21]
cmp rdi, 0x10
lea rsi, [rbp - 0x21]
cmovae rsi, rbx
cmp rdx, 9
jb 0x14004950e
lea r12, [rdx + rsi]
mov rcx, rsi
lea r8, [r12 - 8]
mov edx, 0x77
sub r8, rsi
call fcn.1400a25e0
test rax, rax
je 0x14004950e
movzx r14d, byte [0x1400e1f90]
mov r15, qword [str.windows_7]
cmp qword [rax], r15
jne 0x1400494c0
cmp byte [rax + 8], r14b
je 0x1400494df
inc rax
lea r8, [r12 - 8]
sub r8, rax
mov rcx, rax
mov edx, 0x77
call fcn.1400a25e0
test rax, rax
jne 0x1400494b5
jmp 0x14004950e
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14004950e
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 1], 6
je 0x140049506
mov rdi, qword [rbp - 9]
mov sil, 1
mov rbx, qword [rbp - 0x21]
jmp 0x140049511
mov rdi, qword [rbp - 9]
mov rbx, qword [rbp - 0x21]
xor sil, sil
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
cmp rdi, 0x10
jb 0x14004955c
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140049554
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004958f
mov rcx, rbx
call fcn.14009fcc0
mov rbx, qword [rsp + 0xc0]
movzx eax, sil
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400a0360
add rsp, 0xa8
pop r13
pop rbp
ret
call fcn.1400a47dc
int3
call fcn.1400a47dc
int3