Function at 0x1400b7af0
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 [0x140300da0]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r15, rcx
mov qword [rsp + 0x90], rcx
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400b91cf
cmp dword [rax + 0x48], 0
je 0x1400b91cf
call fcn.1401e9268
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400b7b70
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.1401e9268
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400b7ba1
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0x60], edi
lea rax, str.Movie
mov qword [rsp + 0x200], rax
lea rax, str.Music
mov qword [rsp + 0x208], rax
lea rax, str.Game
mov qword [rsp + 0x210], rax
lea rax, str.Internal
mov qword [rsp + 0x218], rax
lea rax, str.External
mov qword [rsp + 0x220], rax
lea rax, str.Headphone
mov qword [rsp + 0x228], rax
mov dword [rsp + 0x108], edi
mov eax, 1
mov dword [rsp + 0x10c], eax
mov dword [rsp + 0x110], 2
mov dword [rsp + 0x140], edi
mov dword [rsp + 0x144], eax
mov dword [rsp + 0x148], 2
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
lea rdi, str.SOFTWAREDTSU2PPresets
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.SOFTWAREDTSU2PPresets
lea rcx, [rsp + 0x68]
call fcn.140007720
xor eax, eax
mov rcx, rbx
lea rsi, [0x1402604d8]
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rbx, rsi
mov r12, qword [rsp + 0x68]
sub rbx, r12
sar rbx, 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 0x1400b7cda
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140003c90
mov r12, qword [rsp + 0x68]
cmp rbx, r13
ja 0x1400b7ce3
lea rsi, [r12 + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.140216220
test edi, edi
js 0x1400b91c4
cmp edi, dword [r12 - 0xc]
jg 0x1400b91c4
lea rax, [r12 - 0x10]
mov qword [rsp + 0x1f0], rax
mov dword [rax], edi
movsxd rax, edi
mov word [r12 + rax*2], 0
xor ebx, ebx
mov qword [rsp + 0x120], rbx
lea rax, [rsp + 0x120]
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 0x1400b7d6a
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x80], rsi
jmp 0x1400b7dcb
mov qword [rsp + 0x128], rbx
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400b9185
mov rsi, qword [rsp + 0x128]
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x260118]
mov qword [rcx], rax
mov rax, qword [rdx + 0x260120]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x260128]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x138], rbx
mov edi, ebx
test rsi, rsi
je 0x1400b7eb2
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x238]
call fcn.140046810
test eax, eax
js 0x1400b7eb2
mov dword [rsp + 0xf8], 4
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xec]
xor r8d, r8d
mov rbx, qword [rsp + 0x138]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b7e81
cmp dword [rsp + 0xec], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400b7e87
mov r13d, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400b7eb0
mov r9d, r13d
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140151260
xor ebx, ebx
jmp 0x1400b7eb2
xor ebx, ebx
lea r13, [rsp + 0x108]
mov r14d, 3
lea rbp, [0x140000000]
lea r12d, [r14 - 2]
jmp 0x1400b7ed2
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x238]
mov rax, qword [rbp + 0x25d4a0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x25d4a8]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0x25d4b0]
mov dword [rcx + 0x10], eax
mov rax, qword [r15]
mov r8d, dword [r13]
lea rdx, [rsp + 0x238]
mov rcx, r15
call qword [rax + 0x60]
mov qword [rsp + 0x118], rbx
mov edi, ebx
test rsi, rsi
je 0x1400b7f95
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x238]
call fcn.140046810
test eax, eax
js 0x1400b7f95
mov dword [rsp + 0xe8], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
xor r8d, r8d
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b7f8a
cmp dword [rsp + 0x100], 4
cmove edi, r12d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor ebx, ebx
test edi, edi
cmovne ebx, dword [rsp + 0x60]
cmp qword [r15 + 0x30], 0
je 0x1400b818a
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b800e
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400b80cc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b80cc
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r12d
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x50]
test eax, eax
jns 0x1400b8053
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400b80cc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b80cc
cmp word [rsp + 0x180], 0x13
je 0x1400b807f
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400b80cc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b80cc
mov edi, dword [rsp + 0x188]
mov dword [rsp + 0x1f8], edi
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400b80ac
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400b80cc
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400b818a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b818a
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b810f
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400b818a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b818a
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], ebx
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, r12d
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x58]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400b818a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add r13, 4
sub r14, 1
jne 0x1400b7ed0
call fcn.1401e9268
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
jne 0x1400b81c1
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rdx, [0x140260b08]
test rdx, 0xffffffffffff0000
jne 0x1400b8209
movzx edi, dx
mov ecx, edi
call fcn.1401eb134
test rax, rax
je 0x1400b822b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400074b0
mov rbx, qword [rsp + 0x58]
jmp 0x1400b822b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140007720
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
lea rdi, [0x140000000]
mov rax, qword [rdi + 0x25d770]
mov qword [rcx], rax
mov rax, qword [rdi + 0x25d778]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x25d780]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xe0], 0
test rsi, rsi
je 0x1400b8476
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.140046810
test eax, eax
js 0x1400b8476
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 + 0x104]
xor r8d, r8d
mov r15, qword [rsp + 0xe0]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b8465
mov eax, dword [rsp + 0x104]
cmp eax, 1
je 0x1400b82eb
cmp eax, 2
jne 0x1400b8465
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400b8311
test al, 1
jne 0x1400b8465
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400b831b
jmp 0x1400b8465
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 0x1400b83c5
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400b845e
cmp dword [rdx + 0x10], eax
jge 0x1400b8375
cmp dword [rbx - 0xc], eax
jge 0x1400b8363
mov ecx, 0x80070057
call fcn.140003c70
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
lea rdi, [0x140000000]
jmp 0x1400b8465
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b838d
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 rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0xe0]
lea rdi, [0x140000000]
jmp 0x1400b8465
mov r13d, dword [rbx - 0x10]
lea r14, [rsp + 0x250]
sub r14, rbx
sar r14, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400b83f9
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140003c90
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400b8419
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.140216a10
jmp 0x1400b8436
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rbx
call fcn.140216220
test edi, edi
js 0x1400b8453
cmp edi, dword [rbx - 0xc]
jg 0x1400b8453
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
lea rdi, [0x140000000]
jmp 0x1400b8465
mov ecx, 0x80070057
call fcn.140003c70
int3
lea rdi, [0x140000000]
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r15, qword [rsp + 0x90]
cmp qword [r15 + 0x30], 0
je 0x1400b8497
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140150f50
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
mov rax, qword [rdi + 0x25d7e8]
mov qword [rcx], rax
mov rax, qword [rdi + 0x25d7f0]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x25d7f8]
mov dword [rcx + 0x10], eax
xor edi, edi
mov qword [rsp + 0xf0], rdi
test rsi, rsi
je 0x1400b86c1
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x238]
call fcn.140046810
test eax, eax
js 0x1400b86c1
mov dword [rsp + 0xac], 0x208
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xfc]
xor r8d, r8d
mov r15, qword [rsp + 0xf0]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b86b0
mov eax, dword [rsp + 0xfc]
cmp eax, 1
je 0x1400b854e
cmp eax, 2
jne 0x1400b86b0
mov eax, dword [rsp + 0xac]
test eax, eax
je 0x1400b8573
test al, 1
jne 0x1400b86b0
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], di
je 0x1400b857b
jmp 0x1400b86b0
mov word [rsp + 0x460], di
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
lea rdi, [rsp + 0x460]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400b861a
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400b86ae
cmp dword [rdx + 0x10], eax
jge 0x1400b85cf
cmp dword [rbx - 0xc], eax
jge 0x1400b85c2
mov ecx, 0x80070057
call fcn.140003c70
int3
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], ax
jmp 0x1400b86b0
mov eax, r8d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b85e7
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]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0xf0]
xor edi, edi
jmp 0x1400b86b0
mov r13d, dword [rbx - 0x10]
lea r14, [rsp + 0x460]
sub r14, rbx
sar r14, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400b864e
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140003c90
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400b866e
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.140216a10
jmp 0x1400b868b
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rbx
call fcn.140216220
test edi, edi
js 0x1400b86a3
cmp edi, dword [rbx - 0xc]
jg 0x1400b86a3
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
xor edi, edi
jmp 0x1400b86b0
mov ecx, 0x80070057
call fcn.140003c70
int3
xor edi, edi
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r15, qword [rsp + 0x90]
cmp qword [r15 + 0x30], 0
je 0x1400b86dd
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140150f50
test rsi, rsi
je 0x1400b86f3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0xa0], edi
mov r14, rdi
mov qword [rsp + 0xc8], rdi
lea rbx, [r12 - 0x18]
mov qword [rsp + 0x90], rbx
nop
nop
nop
nop
mov dword [rsp + 0xa4], edi
mov qword [rsp + 0xd0], rdi
nop
lea rdi, [rbp - 0x18]
cmp rbx, rdi
je 0x1400b88ca
cmp dword [rdi + 0x10], 0
jl 0x1400b87dc
mov rcx, qword [rbx]
cmp rcx, qword [rdi]
jne 0x1400b87dc
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x1400b8771
cmp rax, qword [rbx]
jne 0x1400b8771
mov rbp, rbx
lock add dword [rbx + 0x10], 1
jmp 0x1400b87ae
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx + 8]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x1400b90b3
mov ecx, dword [rbx + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rbx + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b87c9
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbp, 0x18
mov qword [rsp + 0x50], rbp
mov r12, qword [rsp + 0x68]
jmp 0x1400b88ca
mov rax, qword [rsp + 0x1f0]
movsxd rbx, dword [rax]
test ebx, ebx
jne 0x1400b884e
mov rbx, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400b88ca
cmp dword [rdi + 0x10], 0
jge 0x1400b881a
cmp dword [rbp - 0xc], 0
jl 0x1400b90b9
mov dword [rbp - 0x10], 0
mov word [rbp], 0
jmp 0x1400b88ca
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b8835
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x50], rbp
mov r12, qword [rsp + 0x68]
jmp 0x1400b88ca
mov r13d, dword [rbp - 0x10]
mov rsi, r12
sub rsi, rbp
sar rsi, 1
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400b887d
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140003c90
mov rbp, qword [rsp + 0x50]
cmp rsi, r13
ja 0x1400b889b
lea rdi, [rbx + rbx]
lea r8, [rbp + rsi*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140216a10
jmp 0x1400b88b0
lea rdi, [rbx + rbx]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.140216220
test ebx, ebx
js 0x1400b90c4
cmp ebx, dword [rbp - 0xc]
jg 0x1400b90c4
mov dword [rbp - 0x10], ebx
mov word [rdi + rbp], 0
mov rbx, qword [rsp + r14*8 + 0x218]
test rbx, rbx
jne 0x1400b88dc
xor r13d, r13d
jmp 0x1400b88ef
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rsi, rbx
sub rsi, rbp
sar rsi, 1
mov r14d, dword [rbp - 0x10]
lea edi, [r14 + r13]
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400b8922
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003c90
mov rbp, qword [rsp + 0x50]
cmp rsi, r14
ja 0x1400b892c
lea rbx, [rbp + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.140216220
test edi, edi
js 0x1400b917a
cmp edi, dword [rbp - 0xc]
jg 0x1400b917a
mov dword [rbp - 0x10], edi
movsxd rax, edi
mov word [rbp + rax*2], 0
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + rax*8 + 0x200]
test rbx, rbx
jne 0x1400b897a
xor r13d, r13d
jmp 0x1400b898d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rdi, rbx
sub rdi, rbp
sar rdi, 1
mov r14d, dword [rbp - 0x10]
lea esi, [r14 + r13]
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, esi
or eax, ecx
jge 0x1400b89c0
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140003c90
mov rbp, qword [rsp + 0x50]
cmp rdi, r14
ja 0x1400b89ca
lea rbx, [rbp + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.140216220
test esi, esi
js 0x1400b916f
cmp esi, dword [rbp - 0xc]
jg 0x1400b916f
mov dword [rbp - 0x10], esi
movsxd rax, esi
mov word [rbp + 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 rsi, str.Default
lea rbx, str.Default
sub rbx, rbp
sar rbx, 1
mov r13d, dword [rbp - 0x10]
lea edi, [r13 + rcx - 1]
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400b8a54
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003c90
mov rbp, qword [rsp + 0x50]
cmp rbx, r13
ja 0x1400b8a5e
lea rsi, [rbp + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbp + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.140216220
test edi, edi
js 0x1400b9164
cmp edi, dword [rbp - 0xc]
jg 0x1400b9164
mov dword [rbp - 0x10], edi
movsxd rax, edi
mov word [rbp + rax*2], 0
xor edi, edi
mov qword [rsp + 0xd8], rdi
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b9059
mov eax, edi
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400b8adf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x98], rcx
test eax, eax
jne 0x1400b9059
lea r13, [0x140303da0]
lea r14d, [rax + 0x23]
mov r12, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov qword [rsp + 0x130], rdi
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 + 0x130]
mov r8d, dword [r13]
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x98]
call fcn.1400469d0
test eax, eax
je 0x1400b9023
mov rsi, qword [rsp + 0x130]
test rsi, rsi
je 0x1400b9023
mov rax, qword [r15]
mov r9d, dword [rsp + r12*4 + 0x140]
mov r8d, dword [rsp + rbp*4 + 0x108]
lea rdx, [rsp + 0x238]
mov rcx, r15
call qword [rax + 0x68]
mov edx, dword [r13]
sub edx, 3
je 0x1400b8e21
sub edx, 1
je 0x1400b8dfd
sub edx, 7
je 0x1400b8dde
cmp edx, 8
jne 0x1400b9019
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400b9019
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x88], rdi
xor eax, eax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b8c43
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b8d10
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8d10
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x150]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x50]
test eax, eax
jns 0x1400b8c91
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b8d10
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8d10
cmp word [rsp + 0x150], 0x13
je 0x1400b8cc0
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b8d10
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8d10
mov edi, dword [rsp + 0x158]
mov dword [rsp + 0x1e0], edi
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b8cf0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400b8d10
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b9019
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b8d57
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b9019
xor eax, eax
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rax
mov word [rsp + 0x1c8], 0x13
mov dword [rsp + 0x1d0], ebx
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0xc0]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x1c8]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x58]
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b9019
mov r9d, 1
movzx r8d, word [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140151a40
jmp 0x1400b9019
cmp qword [r15 + 0x30], 0
je 0x1400b9019
movss xmm2, dword [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401517a0
jmp 0x1400b9019
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400b9019
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0x78], rdi
xor eax, eax
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, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b8e96
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b8f57
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8f57
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x50]
test eax, eax
jns 0x1400b8ede
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b8f57
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8f57
cmp word [rsp + 0x168], 3
je 0x1400b8f0a
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b8f57
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b8f57
mov edi, dword [rsp + 0x170]
mov dword [rsp + 0x1e4], edi
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b8f37
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400b8f57
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b9019
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b8f9b
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400b9019
xor eax, eax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rax
mov word [rsp + 0x198], 3
mov dword [rsp + 0x1a0], ebx
mov rax, qword [r15 + 0x30]
mov rcx, qword [rsp + 0xb8]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x198]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x238]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x58]
lea rcx, [rsp + 0x198]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400b9019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call fcn.1402177a0
xor edi, edi
add r13, 0x20
sub r14, 1
jne 0x1400b8b12
mov rax, qword [rsp + 0xd8]
test rax, rax
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
je 0x1400b9059
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x98], rdi
mov eax, dword [rsp + 0xa4]
add eax, 1
mov dword [rsp + 0xa4], eax
add qword [rsp + 0xd0], 1
cmp eax, 3
mov rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0xc8]
jb 0x1400b8730
mov eax, dword [rsp + 0xa0]
add eax, 1
mov dword [rsp + 0xa0], eax
add r14, 1
mov qword [rsp + 0xc8], r14
cmp eax, 3
jae 0x1400b90cf
jmp 0x1400b8720
call fcn.1400f0ca0
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov rcx, r15
call fcn.1400b9380
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400b90fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400b9110
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400b9124
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b9145
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400b91cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b91cf
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
nop
lea rdx, [rbp - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400b91a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400b91cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b91cf
mov ecx, 0x80070057
call fcn.140003c70
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140216200
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