Function at 0x1400aedd0
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 [0x14020e318]
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 0x1400b0506
cmp dword [rax + 0x168], 0
je 0x1400b0506
call fcn.14013e120
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400aee50
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14013e120
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400aee81
mov ecx, 0x80004005
call fcn.140001c70
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, [0x1401ac6d8]
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, [0x140212ca0]
lea rcx, [0x140212c90]
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.1400038f0
xor eax, eax
mov rcx, rsi
lea rbp, [0x14019d8a0]
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 0x1400aefc3
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140001c90
mov r12, qword [rsp + 0x60]
cmp rsi, r13
ja 0x1400aefcc
lea rbp, [r12 + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x1400b04fb
cmp edi, dword [r12 - 0xc]
jg 0x1400b04fb
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 0x1400af053
mov rbp, qword [rsp + 0x130]
mov qword [rsp + 0x80], rbp
jmp 0x1400af0b4
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 0x1400b04bc
mov rbp, qword [rsp + 0x150]
mov qword [rsp + 0x80], rbp
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x1aa580]
mov qword [rcx], rax
mov rax, qword [rdx + 0x1aa588]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x1aa590]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x140], rsi
mov edi, esi
test rbp, rbp
je 0x1400af1b2
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x238]
call fcn.1400ec3f0
test eax, eax
js 0x1400af1a0
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 0x1400af16a
cmp dword [rsp + 0xe8], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400af170
mov r13d, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400af1a9
mov r9d, r13d
mov r8d, dword [rsp + 0x6c]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140055440
lea rdx, [0x140000000]
xor esi, esi
jmp 0x1400af1b2
lea rdx, [0x140000000]
jmp 0x1400af1b2
lea rdx, [0x140000000]
xor esi, esi
mov r13, rsi
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x128], rax
test eax, eax
jle 0x1400af4a4
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 + 0x1a7dc0]
mov qword [rcx], rax
mov rax, qword [rdx + 0x1a7dc8]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x1a7dd0]
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 0x1400af2a3
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x238]
call fcn.1400ec3f0
test eax, eax
js 0x1400af2a3
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 0x1400af298
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, [0x1401a6570]
mov r8d, r12d
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400af311
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400af3cb
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af3cb
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 0x1400af352
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400af3cb
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af3cb
cmp word [rsp + 0x168], 0x13
je 0x1400af37e
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400af3cb
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af3cb
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 0x1400af3ab
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, esi
jne 0x1400af3cb
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400af481
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af481
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a6570]
mov r8d, r12d
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400af40a
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400af481
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af481
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 0x1400af481
mov rax, qword [rcx]
call qword [rax + 0x10]
add r13, 1
cmp r13, rbx
lea rdx, [0x140000000]
mov esi, 0
jl 0x1400af1e0
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
call fcn.14013e120
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400af4c3
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x1400af50b
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400af52d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005140
mov rsi, qword [rsp + 0x50]
jmp 0x1400af52d
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.1400038f0
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x1a8090]
mov qword [rcx], rax
mov rax, qword [rdx + 0x1a8098]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x1a80a0]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xc8], 0
test rbp, rbp
je 0x1400af755
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x238]
call fcn.1400ec3f0
test eax, eax
js 0x1400af755
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 0x1400af747
mov eax, dword [rsp + 0x108]
cmp eax, 1
je 0x1400af5ed
cmp eax, 2
jne 0x1400af747
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400af613
test al, 1
jne 0x1400af747
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400af61d
jmp 0x1400af747
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 0x1400af6b5
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400af747
cmp dword [rdx + 0x10], eax
jge 0x1400af66c
cmp dword [rsi - 0xc], eax
jge 0x1400af661
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400af747
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400af684
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 0x1400af747
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 0x1400af6e9
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400af709
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.14015c620
jmp 0x1400af726
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rsi
call fcn.14015c410
test edi, edi
js 0x1400af73c
cmp edi, dword [rsi - 0xc]
jg 0x1400af73c
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
jmp 0x1400af747
mov ecx, 0x80070057
call fcn.140001c70
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 0x1400af791
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001cf0
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, [0x1401a6570]
mov r14d, 1
mov r8d, r14d
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400af7ea
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400af840
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af840
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 0x1400af82d
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400af840
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400af840
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400af840
mov rax, qword [rcx]
call qword [rax + 0x10]
test rsi, rsi
jne 0x1400af84d
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400af86b
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 0x1400b04b1
cmp ecx, dword [rsi - 0xc]
jg 0x1400b04b1
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 + 0x1a8108]
mov qword [rcx], rax
mov rax, qword [rdx + 0x1a8110]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x1a8118]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xe0], 0
test rbp, rbp
je 0x1400afaa8
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.1400ec3f0
test eax, eax
js 0x1400afaa8
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 0x1400afa9f
mov eax, dword [rsp + 0xd8]
cmp eax, 1
je 0x1400af940
cmp eax, 2
jne 0x1400afa9f
mov eax, dword [rsp + 0xc0]
test eax, eax
je 0x1400af966
test al, 1
jne 0x1400afa9f
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], 0
je 0x1400af970
jmp 0x1400afa9f
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 0x1400afa07
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400afa9f
cmp dword [rdx + 0x10], eax
jge 0x1400af9be
cmp dword [rsi - 0xc], eax
jge 0x1400af9b3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400afa9f
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400af9d6
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 0x1400afa9f
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 0x1400afa3b
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp r14, r13
ja 0x1400afa5b
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.14015c620
jmp 0x1400afa78
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rsi
call fcn.14015c410
test edi, edi
js 0x1400afa94
cmp edi, dword [rsi - 0xc]
jg 0x1400afa94
mov dword [rsi - 0x10], edi
mov word [r13 + rsi], 0
mov r14d, 1
jmp 0x1400afa9f
mov ecx, 0x80070057
call fcn.140001c70
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 0x1400afae4
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001cf0
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, [0x1401a6570]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400afb3c
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400afb99
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15, qword [rsp + 0x70]
jmp 0x1400afb9e
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 0x1400afb84
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400afb9e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400afb9e
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400afb9e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400afb9e
mov r15, qword [rsp + 0x70]
test rsi, rsi
jne 0x1400afbab
xor ecx, ecx
or r13, 0xffffffffffffffff
jmp 0x1400afbc9
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 0x1400b04a6
cmp ecx, dword [rsi - 0xc]
jg 0x1400b04a6
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test rbp, rbp
je 0x1400afbf8
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 0x1400b0415
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 0x1400afc54
or r13, 0xffffffffffffffff
lea rdi, [rbx - 0x18]
cmp rsi, rdi
je 0x1400afdec
cmp dword [rdi + 0x10], 0
jl 0x1400afd00
mov rcx, qword [rsi]
cmp rcx, qword [rdi]
jne 0x1400afd00
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rsi + 0x10], 0
jl 0x1400afc95
cmp rax, qword [rsi]
jne 0x1400afc95
mov rbx, rsi
lock add dword [rsi + 0x10], 1
jmp 0x1400afcd2
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400b03d1
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.14015c410
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400afced
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 0x1400afdec
mov rax, qword [rsp + 0x1f8]
movsxd rsi, dword [rax]
test esi, esi
jne 0x1400afd71
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400afdec
cmp dword [rdi + 0x10], 0
jge 0x1400afd3d
cmp dword [rbx - 0xc], 0
jl 0x1400b03d7
mov dword [rbx - 0x10], 0
mov word [rbx], 0
jmp 0x1400afdec
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400afd58
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 0x1400afdec
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 0x1400afda0
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140001c90
mov rbx, qword [rsp + 0x58]
cmp rbp, r13
ja 0x1400afdbd
lea rdi, [rsi + rsi]
lea r8, [rbx + rbp*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbx
call fcn.14015c620
jmp 0x1400afdd2
lea rdi, [rsi + rsi]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.14015c410
test esi, esi
js 0x1400b03e2
cmp esi, dword [rbx - 0xc]
jg 0x1400b03e2
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 0x1400afe02
xor r13d, r13d
jmp 0x1400afe15
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 0x1400afe48
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140001c90
mov rbx, qword [rsp + 0x58]
cmp rbp, r14
ja 0x1400afe51
lea rsi, [rbx + rbp*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.14015c410
test edi, edi
js 0x1400b040a
cmp edi, dword [rbx - 0xc]
jg 0x1400b040a
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 0x1400afe98
xor r13d, r13d
jmp 0x1400afeab
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 0x1400afede
mov edx, ebp
lea rcx, [rsp + 0x58]
call fcn.140001c90
mov rbx, qword [rsp + 0x58]
cmp rdi, r14
ja 0x1400afee7
lea rsi, [rbx + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rsi
call fcn.14015c410
test ebp, ebp
js 0x1400b03ff
cmp ebp, dword [rbx - 0xc]
jg 0x1400b03ff
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 0x1400aff6f
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140001c90
mov rbx, qword [rsp + 0x58]
cmp rsi, r13
ja 0x1400aff78
lea rbp, [rbx + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x1400b03f4
cmp edi, dword [rbx - 0xc]
jg 0x1400b03f4
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 0x1400b0382
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400afff7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rcx
test eax, eax
jne 0x1400b0382
lea r13, [0x140212650]
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.1400edbe0
test eax, eax
je 0x1400b034c
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x1400b034c
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 0x1400b032b
sub edx, 1
je 0x1400b030f
sub edx, 7
je 0x1400b02f3
cmp edx, 8
jne 0x1400b0344
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, [0x1401a6570]
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b0166
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b0234
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0234
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 0x1400b01b0
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b0234
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0234
cmp word [rsp + 0x180], 0x13
je 0x1400b01df
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b0234
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0234
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 0x1400b020f
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp esi, ebp
jne 0x1400b022f
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b0344
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0344
mov esi, 1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a6570]
mov r8d, esi
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b027a
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b0344
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0344
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 0x1400b0344
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b0344
mov r9d, 1
movzx r8d, word [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140055a30
jmp 0x1400b0344
mov r9d, 1
movss xmm2, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1400556d0
jmp 0x1400b0344
mov r9d, 1
mov r8d, dword [rdi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1400561c0
mov rcx, rdi
call fcn.14015dea0
add r13, 0x20
sub r14, 1
jne 0x1400b0030
mov rax, qword [rsp + 0xf0]
test rax, rax
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
je 0x1400b0382
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 0x1400afc50
add r14, 1
mov qword [rsp + 0x70], r14
cmp r14, qword [rsp + 0x128]
jge 0x1400b03ed
or r13, 0xffffffffffffffff
jmp 0x1400afc20
call fcn.1400c63c0
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rsi, qword [rsp + 0x50]
jmp 0x1400b0415
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rcx, r15
call fcn.1400b06c0
nop
lea rdx, [rsi - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400b043d
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 0x1400b0451
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400b0465
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 0x1400b0486
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 0x1400b0506
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b0506
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
lea rdx, [rbx - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400b04db
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 0x1400b0506
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b0506
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14015b6f0
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