Function at 0x1400a3780
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 0x1400a4eb6
cmp dword [rax + 0x160], 0
je 0x1400a4eb6
call fcn.140129a50
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3800
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.140129a50
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3831
mov ecx, 0x80004005
call fcn.140002d80
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, [0x140193708]
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, [0x1401eee30]
lea rcx, [0x1401eee20]
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.1400032e0
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 0x1400a3973
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140002da0
mov r12, qword [rsp + 0x60]
cmp rsi, r13
ja 0x1400a397c
lea rbp, [r12 + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x1400a4eab
cmp edi, dword [r12 - 0xc]
jg 0x1400a4eab
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 0x1400a3a03
mov rbp, qword [rsp + 0x130]
mov qword [rsp + 0x80], rbp
jmp 0x1400a3a64
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 0x1400a4e6c
mov rbp, qword [rsp + 0x150]
mov qword [rsp + 0x80], rbp
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x18da28]
mov qword [rcx], rax
mov rax, qword [rdx + 0x18da30]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x18da38]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x140], rsi
mov edi, esi
test rbp, rbp
je 0x1400a3b62
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x238]
call fcn.1400da030
test eax, eax
js 0x1400a3b50
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 0x1400a3b1a
cmp dword [rsp + 0xe8], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400a3b20
mov r13d, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400a3b59
mov r9d, r13d
mov r8d, dword [rsp + 0x6c]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140053d90
lea rdx, [0x140000000]
xor esi, esi
jmp 0x1400a3b62
lea rdx, [0x140000000]
jmp 0x1400a3b62
lea rdx, [0x140000000]
xor esi, esi
mov r13, rsi
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x128], rax
test eax, eax
jle 0x1400a3e54
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 0x1400a3c53
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x238]
call fcn.1400da030
test eax, eax
js 0x1400a3c53
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 0x1400a3c48
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 0x1400a3cc1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3d7b
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3d7b
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 0x1400a3d02
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3d7b
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3d7b
cmp word [rsp + 0x168], 0x13
je 0x1400a3d2e
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a3d7b
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3d7b
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 0x1400a3d5b
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, esi
jne 0x1400a3d7b
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400a3e31
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3e31
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 0x1400a3dba
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400a3e31
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a3e31
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 0x1400a3e31
mov rax, qword [rcx]
call qword [rax + 0x10]
add r13, 1
cmp r13, rbx
lea rdx, [0x140000000]
mov esi, 0
jl 0x1400a3b90
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
call fcn.140129a50
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a3e73
mov ecx, 0x80004005
call fcn.140002d80
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 0x1400a3ebb
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x1400a3edd
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140004d70
mov rsi, qword [rsp + 0x50]
jmp 0x1400a3edd
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.1400032e0
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 0x1400a4105
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x238]
call fcn.1400da030
test eax, eax
js 0x1400a4105
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 0x1400a40f7
mov eax, dword [rsp + 0x108]
cmp eax, 1
je 0x1400a3f9d
cmp eax, 2
jne 0x1400a40f7
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400a3fc3
test al, 1
jne 0x1400a40f7
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400a3fcd
jmp 0x1400a40f7
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 0x1400a4065
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400a40f7
cmp dword [rdx + 0x10], eax
jge 0x1400a401c
cmp dword [rsi - 0xc], eax
jge 0x1400a4011
mov ecx, 0x80070057
call fcn.140002d80
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400a40f7
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4034
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 0x1400a40f7
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 0x1400a4099
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400a40b9
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.140144840
jmp 0x1400a40d6
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rsi
call fcn.1401448d0
test edi, edi
js 0x1400a40ec
cmp edi, dword [rsi - 0xc]
jg 0x1400a40ec
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
jmp 0x1400a40f7
mov ecx, 0x80070057
call fcn.140002d80
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 0x1400a4141
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002e00
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 0x1400a419a
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a41f0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a41f0
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 0x1400a41dd
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a41f0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a41f0
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a41f0
mov rax, qword [rcx]
call qword [rax + 0x10]
test rsi, rsi
jne 0x1400a41fd
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400a421b
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 0x1400a4e61
cmp ecx, dword [rsi - 0xc]
jg 0x1400a4e61
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 0x1400a4458
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.1400da030
test eax, eax
js 0x1400a4458
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 0x1400a444f
mov eax, dword [rsp + 0xd8]
cmp eax, 1
je 0x1400a42f0
cmp eax, 2
jne 0x1400a444f
mov eax, dword [rsp + 0xc0]
test eax, eax
je 0x1400a4316
test al, 1
jne 0x1400a444f
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], 0
je 0x1400a4320
jmp 0x1400a444f
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 0x1400a43b7
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400a444f
cmp dword [rdx + 0x10], eax
jge 0x1400a436e
cmp dword [rsi - 0xc], eax
jge 0x1400a4363
mov ecx, 0x80070057
call fcn.140002d80
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400a444f
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4386
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 0x1400a444f
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 0x1400a43eb
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400a440b
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.140144840
jmp 0x1400a4428
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rsi
call fcn.1401448d0
test edi, edi
js 0x1400a4444
cmp edi, dword [rsi - 0xc]
jg 0x1400a4444
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
mov r14d, 1
jmp 0x1400a444f
mov ecx, 0x80070057
call fcn.140002d80
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 0x1400a4494
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002e00
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 0x1400a44ec
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a4549
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15, qword [rsp + 0x70]
jmp 0x1400a454e
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 0x1400a4534
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a454e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a454e
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a454e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a454e
mov r15, qword [rsp + 0x70]
test rsi, rsi
jne 0x1400a455b
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400a4579
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 0x1400a4e56
cmp ecx, dword [rsi - 0xc]
jg 0x1400a4e56
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test rbp, rbp
je 0x1400a45a8
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 0x1400a4dc5
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 0x1400a4604
or r13, 0xffffffffffffffff
lea rdi, [rbx - 0x18]
cmp rsi, rdi
je 0x1400a479c
cmp dword [rdi + 0x10], 0
jl 0x1400a46b0
mov rcx, qword [rsi]
cmp rcx, qword [rdi]
jne 0x1400a46b0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rsi + 0x10], 0
jl 0x1400a4645
cmp rax, qword [rsi]
jne 0x1400a4645
mov rbx, rsi
lock add dword [rsi + 0x10], 1
jmp 0x1400a4682
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400a4d81
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.1401448d0
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a469d
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 0x1400a479c
mov rax, qword [rsp + 0x1f8]
movsxd rsi, dword [rax]
test esi, esi
jne 0x1400a4721
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400a479c
cmp dword [rdi + 0x10], 0
jge 0x1400a46ed
cmp dword [rbx - 0xc], 0
jl 0x1400a4d87
mov dword [rbx - 0x10], 0
mov word [rbx], 0
jmp 0x1400a479c
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4708
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 0x1400a479c
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 0x1400a4750
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140002da0
mov rbx, qword [rsp + 0x58]
cmp rbp, r13
ja 0x1400a476d
lea rdi, [rsi + rsi]
lea r8, [rbx + rbp*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbx
call fcn.140144840
jmp 0x1400a4782
lea rdi, [rsi + rsi]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.1401448d0
test esi, esi
js 0x1400a4d92
cmp esi, dword [rbx - 0xc]
jg 0x1400a4d92
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 0x1400a47b2
xor r13d, r13d
jmp 0x1400a47c5
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 0x1400a47f8
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002da0
mov rbx, qword [rsp + 0x58]
cmp rbp, r14
ja 0x1400a4801
lea rsi, [rbx + rbp*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.1401448d0
test edi, edi
js 0x1400a4dba
cmp edi, dword [rbx - 0xc]
jg 0x1400a4dba
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 0x1400a4848
xor r13d, r13d
jmp 0x1400a485b
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 0x1400a488e
mov edx, ebp
lea rcx, [rsp + 0x58]
call fcn.140002da0
mov rbx, qword [rsp + 0x58]
cmp rdi, r14
ja 0x1400a4897
lea rsi, [rbx + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.1401448d0
test ebp, ebp
js 0x1400a4daf
cmp ebp, dword [rbx - 0xc]
jg 0x1400a4daf
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 0x1400a491f
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002da0
mov rbx, qword [rsp + 0x58]
cmp rsi, r13
ja 0x1400a4928
lea rbp, [rbx + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x1400a4da4
cmp edi, dword [rbx - 0xc]
jg 0x1400a4da4
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 0x1400a4d32
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a49a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rcx
test eax, eax
jne 0x1400a4d32
lea r13, [0x1401ee7e0]
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.1400db9c0
test eax, eax
je 0x1400a4cfc
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x1400a4cfc
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 0x1400a4cdb
sub edx, 1
je 0x1400a4cbf
sub edx, 7
je 0x1400a4ca3
cmp edx, 8
jne 0x1400a4cf4
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 0x1400a4b16
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4be4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4be4
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 0x1400a4b60
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4be4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4be4
cmp word [rsp + 0x180], 0x13
je 0x1400a4b8f
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a4be4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4be4
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 0x1400a4bbf
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp esi, ebp
jne 0x1400a4bdf
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a4cf4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4cf4
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 0x1400a4c2a
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a4cf4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4cf4
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 0x1400a4cf4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4cf4
mov r9d, 1
movzx r8d, word [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140054380
jmp 0x1400a4cf4
mov r9d, 1
movss xmm2, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140054020
jmp 0x1400a4cf4
mov r9d, 1
mov r8d, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140054b10
mov rcx, rdi
call fcn.1401465e0
add r13, 0x20
sub r14, 1
jne 0x1400a49e0
mov rax, qword [rsp + 0xf0]
test rax, rax
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
je 0x1400a4d32
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 0x1400a4600
add r14, 1
mov qword [rsp + 0x70], r14
cmp r14, qword [rsp + 0x128]
jge 0x1400a4d9d
or r13, 0xffffffffffffffff
jmp 0x1400a45d0
call fcn.1400b7790
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rsi, qword [rsp + 0x50]
jmp 0x1400a4dc5
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rcx, r15
call fcn.1400a5070
nop
lea rdx, [rsi - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400a4ded
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 0x1400a4e01
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a4e15
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 0x1400a4e36
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 0x1400a4eb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a4eb6
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
nop
lea rdx, [rbx - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400a4e8b
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 0x1400a4eb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a4eb6
mov ecx, 0x80070057
call fcn.140002d80
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1401447b0
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