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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x228], rax
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0xf4]
xor ebx, ebx
mov r8d, 0x118
mov rcx, rdi
xor edx, edx
call fcn.140159120
mov dword [rdi - 4], 0x11c
mov byte [rdi + 0x116], 1
xor ecx, ecx
mov edx, 0x80
mov r8b, 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea r14, [rsp + 0xf0]
mov rcx, r14
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
mov dword [rsp + 0xec], 0
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rax, [rsp + 0xe0]
mov qword [rax], r13
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401a3cc7
mov rdi, qword [rsp + 0xe0]
lea r8, [rsi + 0x40]
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rdi
call fcn.140081ed2
test al, al
je 0x1401a3fc2
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xe0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.140081ed2
test al, al
je 0x1401a3fc2
mov rcx, qword [rsp + 0xe0]
mov eax, 0xaaaaaaaa
lea rdx, [rsp + 0x210]
mov dword [rdx + 7], eax
mov qword [rdx], r13
lea r9, [rsp + 0xb0]
mov dword [r9], eax
lea rax, [rsp + 0x98]
mov dword [rax], 0xa
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, str.CurrentBuildNumber
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1401a3fc2
cmp dword [rsp + 0xb0], 1
jne 0x1401a3fc2
movabs rbp, 0x7fffffffffffffef
mov eax, dword [rsp + 0x98]
mov byte [rsp + rax + 0x210], 0
mov dword [rsp + 0x80], 0xaaaaaaaa
lea r15, [rsp + 0x210]
mov rcx, r15
call fcn.14017ed70
cmp rax, rbp
ja 0x1401a4129
mov rbx, rax
cmp rax, 0x16
ja 0x1401a4290
mov byte [rsp + 0x107], bl
mov rax, rbx
add rax, r14
cmp rax, r15
setbe al
cmp r14, r15
ja 0x1401a3c4c
test al, al
je 0x1401a4141
lea rdx, [rsp + 0x210]
mov rcx, r14
mov r8, rbx
call fcn.140158a70
mov byte [r14 + rbx], 0
lea r14, [rsp + 0xf0]
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.140054cba
mov ebx, eax
cmp byte [r14 + 0x17], 0
js 0x1401a412c
test bl, bl
je 0x1401a3fc2
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xe0]
lea rdx, [0x14030b2be]
lea r8, [rsp + 0xec]
call fcn.140081ed2
mov ebx, eax
test rdi, rdi
je 0x1401a3cc7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm6, xmmword [0x1402fccc0]
lea r14, [rsp + 0xf0]
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
mov dword [r14 + 0x30], 0xaaaaaaaa
lea rax, [0x14032c4c0]
lea rdx, [rsp + 0xd0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea rdi, [rsp + 0x210]
mov rcx, rdi
call fcn.1400caf10
mov rcx, rdi
mov rdx, r14
call fcn.14007801b
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1401a3d36
mov rcx, qword [rsp + 0x210]
call fcn.140153bcc
test bpl, bpl
je 0x1401a3f71
mov qword [rsp + 0xc0], r13
movaps xmmword [rsp + 0xb0], xmm6
mov ebp, dword [rsp + 0x10c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], 0
test bpl, 1
jne 0x1401a4144
test bpl, 4
jne 0x1401a4163
test bpl, 2
jne 0x1401a402b
test bpl, 8
jne 0x1401a404a
test bpl, 0x20
jne 0x1401a400c
movzx r9d, byte [rsp + 0x227]
test r9b, r9b
js 0x1401a3db3
and r9d, 0x7f
jmp 0x1401a3dbb
mov r9, qword [rsp + 0x218]
test r9, r9
jne 0x1401a4248
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x220], r13
movaps xmmword [rsp + 0x210], xmm6
mov eax, dword [rsp + 0x110]
not eax
test eax, 0x40004
jne 0x1401a40ab
lea rcx, [rsp + 0x210]
mov byte [rcx + 0x17], 0xa
lea rax, str.Windows_NT
cmp rcx, rax
ja 0x1401a3e31
lea rcx, [rsp + 0x21a]
cmp rcx, rax
ja 0x1401a413e
movzx eax, word [0x140310210]
mov word [rsp + 0x218], ax
mov rax, qword [str.Windows_NT]
mov qword [rsp + 0x210], rax
mov byte [rsp + 0x21a], 0
test bl, bl
je 0x1401a40f7
mov r8d, dword [rsp + 0xec]
lea rdx, [0x14030b7ae]
lea rcx, [rsp + 0x98]
call fcn.1400c5fa0
lea r14, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
js 0x1401a3fff
mov rax, qword [rsp + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r14], xmm0
movzx eax, byte [rsp + 0xc7]
test al, al
js 0x1401a3eb4
mov ebx, eax
and ebx, 0x7f
jmp 0x1401a3ebc
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
jne 0x1401a4182
lea rax, [0x140304344]
cmp byte [rsi + 0x37], 0
js 0x1401a3fc9
mov ecx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov edx, dword [rsi + 0x44]
cmp byte [rsp + 0x227], 0
jns 0x1401a3ef2
mov rdi, qword [rsp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str._s__u._u._u._s_s
lea rcx, [rsp + 0x98]
mov r8, rdi
call fcn.1400c5fa0
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], 0
js 0x1401a3fd1
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x10], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rdi], xmm0
mov byte [rsp + 0xaf], al
mov byte [rsp + 0x98], al
test rbx, rbx
jne 0x1401a4069
cmp byte [rsp + 0x227], 0
js 0x1401a3fed
cmp byte [rsp + 0xc7], 0
js 0x1401a3fde
lea rcx, [rsi + 0x50]
mov dword [rsi + 0x50], 0x68
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
add rsi, 0xb8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140156fe0
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1401a3cb9
mov r14, qword [r14]
jmp 0x1401a3ed6
mov rcx, qword [rdi]
call fcn.140153bcc
jmp 0x1401a3f29
mov rcx, qword [rsp + 0xb0]
call fcn.140153bcc
jmp 0x1401a3f71
mov rcx, qword [rsp + 0x210]
call fcn.140153bcc
jmp 0x1401a3f67
mov rcx, qword [r14]
call fcn.140153bcc
jmp 0x1401a3e89
lea rdx, str.Special_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400bf918
jmp 0x1401a3d9f
lea rdx, str.Prerelease_
lea rcx, [rsp + 0x210]
mov r8d, 0xb
call fcn.1400bf918
jmp 0x1401a3d8b
lea rdx, str.Private_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400bf918
jmp 0x1401a3d95
cmp byte [rsp + 0x97], 0
jns 0x1401a4080
mov rcx, qword [rsp + 0x80]
call fcn.140153bcc
cmp byte [rsp + 0x77], 0
jns 0x1401a4091
mov rcx, qword [rsp + 0x60]
call fcn.140153bcc
cmp byte [rsp + 0x5f], 0
jns 0x1401a3f59
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
jmp 0x1401a3f59
mov byte [rsp + 0x227], 7
lea rax, [0x14030b0ce]
cmp rdi, rax
ja 0x1401a40d0
lea rcx, [rsp + 0x217]
cmp rcx, rax
ja 0x1401a42c9
mov eax, dword [0x14030b0d1]
mov dword [rsp + 0x213], eax
mov eax, dword [0x14030b0ce]
mov dword [rsp + 0x210], eax
mov byte [rsp + 0x217], 0
jmp 0x1401a3e57
mov eax, dword [rsp + 0xf8]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [rsi + 0x44], eax
mov r8d, dword [rsp + 0xfc]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x48], eax
and r8d, ecx
jmp 0x1401a3e67
int3
mov rcx, qword [rsp + 0xf0]
call fcn.140153bcc
jmp 0x1401a3c89
int3
int3
lea rdx, str.Debug_
lea rcx, [rsp + 0x210]
mov r8d, 6
call fcn.1400bf918
jmp 0x1401a3d77
lea rdx, str.Patched_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400bf918
jmp 0x1401a3d81
lea rdx, [rsp + 0x48]
mov byte [rdx + 0x17], 2
lea rcx, [0x140304ae4]
cmp rdx, rcx
ja 0x1401a41a5
lea rdx, [rsp + 0x4a]
cmp rdx, rcx
ja 0x1401a42cc
mov word [rsp + 0x48], 0x2820
mov byte [rsp + 0x4a], 0
test al, al
js 0x1401a41bf
lea rdx, [rsp + 0xb0]
jmp 0x1401a41c7
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x48]
mov r8, rbx
call fcn.1400bf918
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
xor r15d, r15d
mov qword [rax + 0x10], r15
xorps xmm6, xmm6
movups xmmword [rax], xmm6
lea rdx, [0x1403044a4]
mov r8d, 1
call fcn.1400bf918
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
mov qword [rax + 0x10], r15
movups xmmword [rax], xmm6
cmp byte [rsp + 0x97], 0
jns 0x1401a423b
mov rax, qword [rsp + 0x80]
jmp 0x1401a3ecc
lea rax, [rsp + 0x80]
jmp 0x1401a3ecc
dec r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
lea r14, [rsp + 0x210]
mov rdx, r14
xor r8d, r8d
call fcn.1400c920c
cmp byte [r14 + 0x17], 0
jns 0x1401a3de4
mov rcx, qword [rsp + 0x210]
call fcn.140153bcc
jmp 0x1401a3de4
mov r12, rbx
or r12, 0xf
inc r12
mov rcx, r12
call fcn.140153bd4
mov r14, rax
mov qword [rsp + 0xf0], rax
add rbp, 0x11
or rbp, r12
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0xf8], rbx
jmp 0x1401a3c33
int3
int3