Function at 0x1400bd4b0
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 [0x140315d90]
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 0x1400beb8f
cmp dword [rax + 0x48], 0
je 0x1400beb8f
call fcn.1401fa4b0
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400bd530
mov ecx, 0x80004005
call fcn.140003d20
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.1401fa4b0
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400bd561
mov ecx, 0x80004005
call fcn.140003d20
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.140007880
xor eax, eax
mov rcx, rbx
lea rsi, [0x1402729f8]
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 0x1400bd69a
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140003d40
mov r12, qword [rsp + 0x68]
cmp rbx, r13
ja 0x1400bd6a3
lea rsi, [r12 + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.1402279d0
test edi, edi
js 0x1400beb84
cmp edi, dword [r12 - 0xc]
jg 0x1400beb84
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 0x1400bd72a
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x80], rsi
jmp 0x1400bd78b
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 0x1400beb45
mov rsi, qword [rsp + 0x128]
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x272488]
mov qword [rcx], rax
mov rax, qword [rdx + 0x272490]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x272498]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x138], rbx
mov edi, ebx
test rsi, rsi
je 0x1400bd872
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x238]
call fcn.140046c30
test eax, eax
js 0x1400bd872
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 0x1400bd841
cmp dword [rsp + 0xec], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400bd847
mov r13d, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400bd870
mov r9d, r13d
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401620d0
xor ebx, ebx
jmp 0x1400bd872
xor ebx, ebx
lea r13, [rsp + 0x108]
mov r14d, 3
lea rbp, [0x140000000]
lea r12d, [r14 - 2]
jmp 0x1400bd892
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x238]
mov rax, qword [rbp + 0x26f810]
mov qword [rcx], rax
mov rax, qword [rbp + 0x26f818]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0x26f820]
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 0x1400bd955
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x238]
call fcn.140046c30
test eax, eax
js 0x1400bd955
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 0x1400bd94a
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 0x1400bdb4a
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, [0x140272ff8]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400bd9ce
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bda8c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400bda8c
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 0x1400bda13
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bda8c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400bda8c
cmp word [rsp + 0x180], 0x13
je 0x1400bda3f
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bda8c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400bda8c
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 0x1400bda6c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400bda8c
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400bdb4a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400bdb4a
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140272ff8]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400bdacf
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400bdb4a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400bdb4a
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 0x1400bdb4a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add r13, 4
sub r14, 1
jne 0x1400bd890
call fcn.1401fa4b0
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 0x1400bdb81
mov ecx, 0x80004005
call fcn.140003d20
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rdx, [0x140273028]
test rdx, 0xffffffffffff0000
jne 0x1400bdbc9
movzx edi, dx
mov ecx, edi
call fcn.1401fc234
test rax, rax
je 0x1400bdbeb
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140007610
mov rbx, qword [rsp + 0x58]
jmp 0x1400bdbeb
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.140007880
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
lea rdi, [0x140000000]
mov rax, qword [rdi + 0x26fae0]
mov qword [rcx], rax
mov rax, qword [rdi + 0x26fae8]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x26faf0]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xe0], 0
test rsi, rsi
je 0x1400bde36
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.140046c30
test eax, eax
js 0x1400bde36
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 0x1400bde25
mov eax, dword [rsp + 0x104]
cmp eax, 1
je 0x1400bdcab
cmp eax, 2
jne 0x1400bde25
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400bdcd1
test al, 1
jne 0x1400bde25
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400bdcdb
jmp 0x1400bde25
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 0x1400bdd85
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400bde1e
cmp dword [rdx + 0x10], eax
jge 0x1400bdd35
cmp dword [rbx - 0xc], eax
jge 0x1400bdd23
mov ecx, 0x80070057
call fcn.140003d20
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
lea rdi, [0x140000000]
jmp 0x1400bde25
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400bdd4d
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 0x1400bde25
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 0x1400bddb9
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140003d40
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400bddd9
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.140227ef0
jmp 0x1400bddf6
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rbx
call fcn.1402279d0
test edi, edi
js 0x1400bde13
cmp edi, dword [rbx - 0xc]
jg 0x1400bde13
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
lea rdi, [0x140000000]
jmp 0x1400bde25
mov ecx, 0x80070057
call fcn.140003d20
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 0x1400bde57
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140161dc0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
mov rax, qword [rdi + 0x26fb58]
mov qword [rcx], rax
mov rax, qword [rdi + 0x26fb60]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x26fb68]
mov dword [rcx + 0x10], eax
xor edi, edi
mov qword [rsp + 0xf0], rdi
test rsi, rsi
je 0x1400be081
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x238]
call fcn.140046c30
test eax, eax
js 0x1400be081
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 0x1400be070
mov eax, dword [rsp + 0xfc]
cmp eax, 1
je 0x1400bdf0e
cmp eax, 2
jne 0x1400be070
mov eax, dword [rsp + 0xac]
test eax, eax
je 0x1400bdf33
test al, 1
jne 0x1400be070
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], di
je 0x1400bdf3b
jmp 0x1400be070
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 0x1400bdfda
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400be06e
cmp dword [rdx + 0x10], eax
jge 0x1400bdf8f
cmp dword [rbx - 0xc], eax
jge 0x1400bdf82
mov ecx, 0x80070057
call fcn.140003d20
int3
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], ax
jmp 0x1400be070
mov eax, r8d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400bdfa7
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 0x1400be070
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 0x1400be00e
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140003d40
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400be02e
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.140227ef0
jmp 0x1400be04b
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rbx
call fcn.1402279d0
test edi, edi
js 0x1400be063
cmp edi, dword [rbx - 0xc]
jg 0x1400be063
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
xor edi, edi
jmp 0x1400be070
mov ecx, 0x80070057
call fcn.140003d20
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 0x1400be09d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140161dc0
test rsi, rsi
je 0x1400be0b3
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 0x1400be28a
cmp dword [rdi + 0x10], 0
jl 0x1400be19c
mov rcx, qword [rbx]
cmp rcx, qword [rdi]
jne 0x1400be19c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x1400be131
cmp rax, qword [rbx]
jne 0x1400be131
mov rbp, rbx
lock add dword [rbx + 0x10], 1
jmp 0x1400be16e
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx + 8]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x1400bea73
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.1402279d0
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400be189
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 0x1400be28a
mov rax, qword [rsp + 0x1f0]
movsxd rbx, dword [rax]
test ebx, ebx
jne 0x1400be20e
mov rbx, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400be28a
cmp dword [rdi + 0x10], 0
jge 0x1400be1da
cmp dword [rbp - 0xc], 0
jl 0x1400bea79
mov dword [rbp - 0x10], 0
mov word [rbp], 0
jmp 0x1400be28a
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400be1f5
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 0x1400be28a
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 0x1400be23d
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140003d40
mov rbp, qword [rsp + 0x50]
cmp rsi, r13
ja 0x1400be25b
lea rdi, [rbx + rbx]
lea r8, [rbp + rsi*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.140227ef0
jmp 0x1400be270
lea rdi, [rbx + rbx]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.1402279d0
test ebx, ebx
js 0x1400bea84
cmp ebx, dword [rbp - 0xc]
jg 0x1400bea84
mov dword [rbp - 0x10], ebx
mov word [rdi + rbp], 0
mov rbx, qword [rsp + r14*8 + 0x218]
test rbx, rbx
jne 0x1400be29c
xor r13d, r13d
jmp 0x1400be2af
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 0x1400be2e2
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003d40
mov rbp, qword [rsp + 0x50]
cmp rsi, r14
ja 0x1400be2ec
lea rbx, [rbp + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.1402279d0
test edi, edi
js 0x1400beb3a
cmp edi, dword [rbp - 0xc]
jg 0x1400beb3a
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 0x1400be33a
xor r13d, r13d
jmp 0x1400be34d
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 0x1400be380
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140003d40
mov rbp, qword [rsp + 0x50]
cmp rdi, r14
ja 0x1400be38a
lea rbx, [rbp + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.1402279d0
test esi, esi
js 0x1400beb2f
cmp esi, dword [rbp - 0xc]
jg 0x1400beb2f
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 0x1400be414
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003d40
mov rbp, qword [rsp + 0x50]
cmp rbx, r13
ja 0x1400be41e
lea rsi, [rbp + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbp + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.1402279d0
test edi, edi
js 0x1400beb24
cmp edi, dword [rbp - 0xc]
jg 0x1400beb24
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 0x1400bea19
mov eax, edi
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400be49f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x98], rcx
test eax, eax
jne 0x1400bea19
lea r13, [0x140318df0]
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.140046df0
test eax, eax
je 0x1400be9e3
mov rsi, qword [rsp + 0x130]
test rsi, rsi
je 0x1400be9e3
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 0x1400be7e1
sub edx, 1
je 0x1400be7bd
sub edx, 7
je 0x1400be79e
cmp edx, 8
jne 0x1400be9d9
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400be9d9
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, [0x140272ff8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400be603
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400be6d0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be6d0
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 0x1400be651
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400be6d0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be6d0
cmp word [rsp + 0x150], 0x13
je 0x1400be680
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400be6d0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be6d0
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 0x1400be6b0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400be6d0
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be9d9
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x140272ff8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400be717
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be9d9
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 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be9d9
mov r9d, 1
movzx r8d, word [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401628b0
jmp 0x1400be9d9
cmp qword [r15 + 0x30], 0
je 0x1400be9d9
movss xmm2, dword [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140162610
jmp 0x1400be9d9
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400be9d9
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, [0x140272ff8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400be856
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400be917
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be917
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 0x1400be89e
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400be917
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be917
cmp word [rsp + 0x168], 3
je 0x1400be8ca
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400be917
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be917
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 0x1400be8f7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400be917
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be9d9
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x140272ff8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140272f98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400be95b
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400be9d9
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 0x1400be9d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call fcn.140228830
xor edi, edi
add r13, 0x20
sub r14, 1
jne 0x1400be4d2
mov rax, qword [rsp + 0xd8]
test rax, rax
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
je 0x1400bea19
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 0x1400be0f0
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 0x1400bea8f
jmp 0x1400be0e0
call fcn.140003e50
int3
mov ecx, 0x80070057
call fcn.140003d20
int3
mov ecx, 0x80070057
call fcn.140003d20
int3
mov rcx, r15
call fcn.1400bed40
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 0x1400beabc
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 0x1400bead0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400beae4
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 0x1400beb05
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 0x1400beb8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400beb8f
mov ecx, 0x80070057
call fcn.140003d20
int3
mov ecx, 0x80070057
call fcn.140003d20
int3
mov ecx, 0x80070057
call fcn.140003d20
nop
lea rdx, [rbp - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400beb64
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 0x1400beb8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400beb8f
mov ecx, 0x80070057
call fcn.140003d20
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1402272f0
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