Function at 0x1400a37b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov qword [rsp + 0x230], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400a4ee6
cmp dword [rax + 0x160], 0
je 0x1400a4ee6
call fcn.14012a060
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3830
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14012a060
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3861
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x6c], edi
lea rax, [0x140193718]
mov qword [rsp + 0x218], rax
lea rax, str.Music
mov qword [rsp + 0x220], rax
lea rax, str.Game
mov qword [rsp + 0x228], rax
mov dword [rsp + 0x158], edi
mov eax, 1
mov dword [rsp + 0x15c], eax
mov dword [rsp + 0x160], 2
mov eax, dword [r15 + 0x48]
lea rdx, str.Internal
lea rcx, str.Internal
test eax, eax
cmovne rcx, rdx
mov qword [rsp + 0x1c8], rcx
lea rdx, [0x1401eee40]
lea rcx, [0x1401eee30]
test eax, eax
cmovne rcx, rdx
mov qword [rsp + 0x120], rcx
mov ecx, 3
mov edx, 7
test eax, eax
cmovne ecx, edx
mov dword [rsp + 0x68], ecx
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, str.SOFTWAREDTSU2PPresets
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.SOFTWAREDTSU2PPresets
lea rcx, [rsp + 0x60]
call fcn.140003210
xor eax, eax
mov rcx, rsi
lea rbp, [0x140180dfc]
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rsi, rbp
mov r12, qword [rsp + 0x60]
sub rsi, r12
sar rsi, 1
mov r13d, dword [r12 - 0x10]
lea edi, [r13 + rcx - 1]
mov ecx, 1
sub ecx, dword [r12 - 8]
mov eax, dword [r12 - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a39a3
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140002cd0
mov r12, qword [rsp + 0x60]
cmp rsi, r13
ja 0x1400a39ac
lea rbp, [r12 + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140144ee0
test edi, edi
js 0x1400a4edb
cmp edi, dword [r12 - 0xc]
jg 0x1400a4edb
lea rax, [r12 - 0x10]
mov qword [rsp + 0x1f8], rax
mov dword [rax], edi
movsxd rax, edi
mov word [r12 + rax*2], 0
xor esi, esi
mov qword [rsp + 0x130], rsi
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a3a33
mov rbp, qword [rsp + 0x130]
mov qword [rsp + 0x80], rbp
jmp 0x1400a3a94
mov qword [rsp + 0x150], rsi
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400a4e9c
mov rbp, qword [rsp + 0x150]
mov qword [rsp + 0x80], rbp
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x18da40]
mov qword [rcx], rax
mov rax, qword [rdx + 0x18da48]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x18da50]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x140], rsi
mov edi, esi
test rbp, rbp
je 0x1400a3b92
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x238]
call fcn.1400da3d0
test eax, eax
js 0x1400a3b80
mov dword [rsp + 0xf8], 4
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe8]
xor r8d, r8d
mov rsi, qword [rsp + 0x140]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a3b4a
cmp dword [rsp + 0xe8], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400a3b50
mov r13d, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400a3b89
mov r9d, r13d
mov r8d, dword [rsp + 0x6c]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1400540d0
lea rdx, [0x140000000]
xor esi, esi
jmp 0x1400a3b92
lea rdx, [0x140000000]
jmp 0x1400a3b92
lea rdx, [0x140000000]
xor esi, esi
mov r13, rsi
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x128], rax
test eax, eax
jle 0x1400a3e84
mov r14, qword [rsp + 0x120]
mov rbx, rax
mov r12d, 1
nop
nop
mov dword [rsp + 0x6c], esi
lea rcx, [rsp + 0x238]
mov rax, qword [rdx + 0x18b290]
mov qword [rcx], rax
mov rax, qword [rdx + 0x18b298]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x18b2a0]
mov dword [rcx + 0x10], eax
mov rax, qword [r15]
mov r8d, dword [r14 + r13*4]
lea rdx, [rsp + 0x238]
mov rcx, r15
call qword [rax + 0x30]
mov qword [rsp + 0x148], rsi
mov edi, esi
test rbp, rbp
je 0x1400a3c83
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x238]
call fcn.1400da3d0
test eax, eax
js 0x1400a3c83
mov dword [rsp + 0xd0], 4
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd4]
xor r8d, r8d
mov rsi, qword [rsp + 0x148]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a3c78
cmp dword [rsp + 0xd4], 4
cmove edi, r12d
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
test edi, edi
cmovne esi, dword [rsp + 0x6c]
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a3cf1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3dab
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3dab
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r12d
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x50]
test eax, eax
jns 0x1400a3d32
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3dab
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3dab
cmp word [rsp + 0x168], 0x13
je 0x1400a3d5e
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3dab
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3dab
mov edi, dword [rsp + 0x170]
mov dword [rsp + 0x1d4], edi
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3d8b
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, esi
jne 0x1400a3dab
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400a3e61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3e61
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a3dea
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400a3e61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3e61
xor eax, eax
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], rax
mov word [rsp + 0x1b0], 0x13
mov dword [rsp + 0x1b8], esi
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r12d
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400a3e61
mov rax, qword [rcx]
call qword [rax + 0x10]
add r13, 1
cmp r13, rbx
lea rdx, [0x140000000]
mov esi, 0
jl 0x1400a3bc0
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
call fcn.14012a060
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3ea3
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x1400a3eeb
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x1400a3f0d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140004c30
mov rsi, qword [rsp + 0x50]
jmp 0x1400a3f0d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140003210
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x18b560]
mov qword [rcx], rax
mov rax, qword [rdx + 0x18b568]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x18b570]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xc8], 0
test rbp, rbp
je 0x1400a4135
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x238]
call fcn.1400da3d0
test eax, eax
js 0x1400a4135
mov dword [rsp + 0xa8], 0x208
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x108]
xor r8d, r8d
mov r15, qword [rsp + 0xc8]
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a4127
mov eax, dword [rsp + 0x108]
cmp eax, 1
je 0x1400a3fcd
cmp eax, 2
jne 0x1400a4127
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400a3ff3
test al, 1
jne 0x1400a4127
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400a3ffd
jmp 0x1400a4127
mov word [rsp + 0x250], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x250]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400a4095
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400a4127
cmp dword [rdx + 0x10], eax
jge 0x1400a404c
cmp dword [rsi - 0xc], eax
jge 0x1400a4041
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400a4127
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4064
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
mov r12, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0xc8]
jmp 0x1400a4127
mov r13d, dword [rsi - 0x10]
lea r14, [rsp + 0x250]
sub r14, rsi
sar r14, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a40c9
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400a40e9
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.140144e50
jmp 0x1400a4106
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x1400a411c
cmp edi, dword [rsi - 0xc]
jg 0x1400a411c
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
jmp 0x1400a4127
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r15, qword [rsp + 0x70]
xor eax, eax
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], rax
mov word [rsp + 0x200], 0x1f
cmp dword [rsi - 8], 1
jle 0x1400a4171
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002d30
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r14d, 1
mov r8d, r14d
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a41ca
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a4220
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4220
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0x200]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r14d
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
test eax, eax
jns 0x1400a420d
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a4220
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4220
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a4220
mov rax, qword [rcx]
call qword [rax + 0x10]
test rsi, rsi
jne 0x1400a422d
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400a424b
xor eax, eax
or r13, 0xffffffffffffffff
mov rcx, r13
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x1400a4e91
cmp ecx, dword [rsi - 0xc]
jg 0x1400a4e91
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x18b5d8]
mov qword [rcx], rax
mov rax, qword [rdx + 0x18b5e0]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x18b5e8]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xe0], 0
test rbp, rbp
je 0x1400a4488
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.1400da3d0
test eax, eax
js 0x1400a4488
mov dword [rsp + 0xc0], 0x208
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd8]
xor r8d, r8d
mov r15, qword [rsp + 0xe0]
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a447f
mov eax, dword [rsp + 0xd8]
cmp eax, 1
je 0x1400a4320
cmp eax, 2
jne 0x1400a447f
mov eax, dword [rsp + 0xc0]
test eax, eax
je 0x1400a4346
test al, 1
jne 0x1400a447f
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], 0
je 0x1400a4350
jmp 0x1400a447f
mov word [rsp + 0x460], 0
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0x460]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400a43e7
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400a447f
cmp dword [rdx + 0x10], eax
jge 0x1400a439e
cmp dword [rsi - 0xc], eax
jge 0x1400a4393
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400a447f
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a43b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
mov r12, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0xe0]
jmp 0x1400a447f
mov r13d, dword [rsi - 0x10]
lea r14, [rsp + 0x460]
sub r14, rsi
sar r14, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a441b
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400a443b
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.140144e50
jmp 0x1400a4458
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x1400a4474
cmp edi, dword [rsi - 0xc]
jg 0x1400a4474
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
mov r14d, 1
jmp 0x1400a447f
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov word [rsp + 0x1d8], 0x1f
cmp dword [rsi - 8], 1
jle 0x1400a44c4
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002d30
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, r14d
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a451c
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a4579
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15, qword [rsp + 0x70]
jmp 0x1400a457e
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1d8]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r14d
mov r15, qword [rsp + 0x70]
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
test eax, eax
jns 0x1400a4564
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a457e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a457e
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a457e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a457e
mov r15, qword [rsp + 0x70]
test rsi, rsi
jne 0x1400a458b
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400a45a9
xor eax, eax
or r13, 0xffffffffffffffff
mov rcx, r13
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x1400a4e86
cmp ecx, dword [rsi - 0xc]
jg 0x1400a4e86
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test rbp, rbp
je 0x1400a45d8
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x80], 0
xor r14d, r14d
mov qword [rsp + 0x70], r14
cmp dword [rsp + 0x68], r14d
jle 0x1400a4df5
lea rsi, [r12 - 0x18]
mov qword [rsp + 0x138], rsi
nop
nop
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x158]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x100], rax
jmp 0x1400a4634
or r13, 0xffffffffffffffff
lea rdi, [rbx - 0x18]
cmp rsi, rdi
je 0x1400a47cc
cmp dword [rdi + 0x10], 0
jl 0x1400a46e0
mov rcx, qword [rsi]
cmp rcx, qword [rdi]
jne 0x1400a46e0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rsi + 0x10], 0
jl 0x1400a4675
cmp rax, qword [rsi]
jne 0x1400a4675
mov rbx, rsi
lock add dword [rsi + 0x10], 1
jmp 0x1400a46b2
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400a4db1
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rsi + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140144ee0
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a46cd
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
mov qword [rsp + 0x58], rbx
mov r12, qword [rsp + 0x60]
jmp 0x1400a47cc
mov rax, qword [rsp + 0x1f8]
movsxd rsi, dword [rax]
test esi, esi
jne 0x1400a4751
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400a47cc
cmp dword [rdi + 0x10], 0
jge 0x1400a471d
cmp dword [rbx - 0xc], 0
jl 0x1400a4db7
mov dword [rbx - 0x10], 0
mov word [rbx], 0
jmp 0x1400a47cc
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4738
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov r12, qword [rsp + 0x60]
jmp 0x1400a47cc
mov r13d, dword [rbx - 0x10]
mov rbp, r12
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x1400a4780
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140002cd0
mov rbx, qword [rsp + 0x58]
cmp rbp, r13
ja 0x1400a479d
lea rdi, [rsi + rsi]
lea r8, [rbx + rbp*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbx
call fcn.140144e50
jmp 0x1400a47b2
lea rdi, [rsi + rsi]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.140144ee0
test esi, esi
js 0x1400a4dc2
cmp esi, dword [rbx - 0xc]
jg 0x1400a4dc2
mov dword [rbx - 0x10], esi
mov word [rdi + rbx], 0
mov rax, qword [rsp + 0x1c8]
mov rsi, qword [rax + r14*8]
test rsi, rsi
jne 0x1400a47e2
xor r13d, r13d
jmp 0x1400a47f5
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rbp, rsi
sub rbp, rbx
sar rbp, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + r13]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a4828
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002cd0
mov rbx, qword [rsp + 0x58]
cmp rbp, r14
ja 0x1400a4831
lea rsi, [rbx + rbp*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.140144ee0
test edi, edi
js 0x1400a4dea
cmp edi, dword [rbx - 0xc]
jg 0x1400a4dea
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rsi, qword [rsp + 0x100]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400a4878
xor r13d, r13d
jmp 0x1400a488b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rdi, rsi
sub rdi, rbx
sar rdi, 1
mov r14d, dword [rbx - 0x10]
lea ebp, [r14 + r13]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, ecx
jge 0x1400a48be
mov edx, ebp
lea rcx, [rsp + 0x58]
call fcn.140002cd0
mov rbx, qword [rsp + 0x58]
cmp rdi, r14
ja 0x1400a48c7
lea rsi, [rbx + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.140144ee0
test ebp, ebp
js 0x1400a4ddf
cmp ebp, dword [rbx - 0xc]
jg 0x1400a4ddf
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
mov word [rbx + rax*2], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.Default
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
lea rbp, str.Default
lea rsi, str.Default
sub rsi, rbx
sar rsi, 1
mov r13d, dword [rbx - 0x10]
lea edi, [r13 + rcx - 1]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a494f
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002cd0
mov rbx, qword [rsp + 0x58]
cmp rsi, r13
ja 0x1400a4958
lea rbp, [rbx + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140144ee0
test edi, edi
js 0x1400a4dd4
cmp edi, dword [rbx - 0xc]
jg 0x1400a4dd4
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov qword [rsp + 0xf0], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a4d62
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a49d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rcx
test eax, eax
jne 0x1400a4d62
lea r13, [0x1401ee7f0]
lea r14d, [rax + 0x23]
mov r12, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x70]
nop
nop
nop
mov qword [rsp + 0x118], 0
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x238]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
lea r9, [rsp + 0x118]
mov r8d, dword [r13]
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0xb0]
call fcn.1400dbd60
test eax, eax
je 0x1400a4d2c
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x1400a4d2c
mov rax, qword [r15]
mov r9d, dword [r12]
mov rcx, qword [rsp + 0x120]
mov r8d, dword [rcx + rbx*4]
lea rdx, [rsp + 0x238]
mov rcx, r15
call qword [rax + 0x38]
mov edx, dword [r13]
sub edx, 3
je 0x1400a4d0b
sub edx, 1
je 0x1400a4cef
sub edx, 7
je 0x1400a4cd3
cmp edx, 8
jne 0x1400a4d24
mov ebp, dword [rdi]
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x88], 0
xor eax, eax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a4b46
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4c14
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4c14
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, esi
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x50]
test eax, eax
jns 0x1400a4b90
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4c14
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4c14
cmp word [rsp + 0x180], 0x13
je 0x1400a4bbf
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4c14
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4c14
mov esi, dword [rsp + 0x188]
mov dword [rsp + 0x1f0], esi
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4bef
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp esi, ebp
jne 0x1400a4c0f
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a4d24
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4d24
mov esi, 1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, esi
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a4c5a
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a4d24
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4d24
xor eax, eax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rax
mov word [rsp + 0x198], 0x13
mov dword [rsp + 0x1a0], ebp
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x198]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, esi
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
lea rcx, [rsp + 0x198]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a4d24
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4d24
mov r9d, 1
movzx r8d, word [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1400546c0
jmp 0x1400a4d24
mov r9d, 1
movss xmm2, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140054360
jmp 0x1400a4d24
mov r9d, 1
mov r8d, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140054e50
mov rcx, rdi
call fcn.140146bf0
add r13, 0x20
sub r14, 1
jne 0x1400a4a10
mov rax, qword [rsp + 0xf0]
test rax, rax
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
je 0x1400a4d62
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xb0], r14
mov ecx, dword [rsp + 0x68]
add ecx, 1
mov dword [rsp + 0x68], ecx
add qword [rsp + 0x100], 8
add qword [rsp + 0x110], 4
cmp ecx, 3
mov rsi, qword [rsp + 0x138]
mov r14, qword [rsp + 0x70]
jb 0x1400a4630
add r14, 1
mov qword [rsp + 0x70], r14
cmp r14, qword [rsp + 0x128]
jge 0x1400a4dcd
or r13, 0xffffffffffffffff
jmp 0x1400a4600
call fcn.1400b7870
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov rsi, qword [rsp + 0x50]
jmp 0x1400a4df5
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov rcx, r15
call fcn.1400a50a0
nop
lea rdx, [rsi - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400a4e1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a4e31
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a4e45
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4e66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400a4ee6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a4ee6
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
nop
lea rdx, [rbx - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400a4ebb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400a4ee6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a4ee6
mov ecx, 0x80070057
call fcn.140002cb0
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140144dc0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret