Function at 0x1400a1e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140300da0]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov dword [rsp + 0xec], r8d
mov dword [rsp + 0xe8], edx
mov r12, rcx
mov qword [rsp + 0xe0], rcx
cmp qword [rcx + 0x30], 0
je 0x1400a31c1
lea rax, str.Movie
mov qword [r11 - 0xe8], rax
lea rax, str.Music
mov qword [r11 - 0xe0], rax
lea rax, str.Game
mov qword [r11 - 0xd8], rax
xor ebp, ebp
mov dword [rsp + 0x108], ebp
mov r13d, 1
mov dword [r11 - 0x1cc], r13d
mov dword [rsp + 0x110], ebp
mov dword [rsp + 0x114], ebp
mov dword [r11 - 0x1c0], r13d
mov dword [rsp + 0x11c], ebp
mov dword [r11 - 0x1b8], r13d
mov dword [rsp + 0x124], 2
mov dword [rsp + 0x128], 4
mov qword [r11 - 0x250], rbp
call fcn.1401e9268
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a1f91
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 + 0x70], rbx
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
or r15, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400a1fdd
movzx edi, dx
mov ecx, edi
call fcn.1401eb134
test rax, rax
je 0x1400a1ffe
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400074b0
mov rbx, qword [rsp + 0x70]
jmp 0x1400a1ffe
xor eax, eax
mov rcx, r15
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140007720
mov rbx, qword [rsp + 0x70]
mov dword [rsp + 0xbc], ebp
mov qword [rsp + 0x130], rbp
lea rax, [rsp + 0x130]
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 0x1400a210c
mov rsi, qword [rsp + 0x130]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x148], rbp
mov edi, ebp
test rsi, rsi
je 0x1400a210c
lea rdx, [rsp + 0x148]
lea rcx, [0x1402600b8]
call fcn.140046810
test eax, eax
js 0x1400a20fb
mov dword [rsp + 0xf0], 4
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x104]
xor r8d, r8d
mov rbp, qword [rsp + 0x148]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a20ce
cmp dword [rsp + 0x104], 4
cmove edi, r13d
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400a20f9
mov r9d, r13d
mov r8d, dword [rsp + 0xbc]
lea rdx, [0x1402600b8]
mov rcx, r12
call fcn.140151260
xor ebp, ebp
jmp 0x1400a20fb
xor ebp, ebp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], rbp
mov dword [rsp + 0xa4], ebp
mov r14, rbp
mov qword [rsp + 0xc0], rbp
nop
mov dword [rsp + 0xa0], ebp
mov qword [rsp + 0x98], rbp
nop
xor eax, eax
mov rcx, r15
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400a21a8
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400a222d
cmp dword [rdx + 0x10], eax
jge 0x1400a2179
cmp dword [rbx - 0xc], eax
jl 0x1400a3137
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x1400a222d
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2191
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 + 0x70], rbx
jmp 0x1400a222d
mov esi, dword [rbx - 0x10]
mov rbp, rdx
sub rbp, rbx
sar rbp, 1
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a21db
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140003c90
mov rbx, qword [rsp + 0x70]
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
cmp rbp, rsi
ja 0x1400a21fb
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140216a10
jmp 0x1400a2213
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
mov r8, rdx
mov rdx, rsi
mov rcx, rbx
call fcn.140216220
test edi, edi
js 0x1400a31b6
cmp edi, dword [rbx - 0xc]
jg 0x1400a31b6
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor eax, eax
mov rcx, r15
lea rdi, [0x1402604d8]
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rbp, [0x1402604d8]
lea rsi, [0x1402604d8]
sub rsi, rbx
sar rsi, 1
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a2282
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140003c90
mov rbx, qword [rsp + 0x70]
cmp rsi, r12
ja 0x1400a228b
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.140216220
test edi, edi
js 0x1400a31ab
cmp edi, dword [rbx - 0xc]
jg 0x1400a31ab
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
lea rax, str.Internal
mov rbp, qword [rax + r14*8]
test rbp, rbp
jne 0x1400a22d2
xor r12d, r12d
jmp 0x1400a22e4
xor eax, eax
mov rcx, r15
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r13d, dword [rbx - 0x10]
lea edi, [r13 + r12]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a2318
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140003c90
mov rbx, qword [rsp + 0x70]
cmp rsi, r13
ja 0x1400a2321
lea rbp, [rbx + rsi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140216220
test edi, edi
js 0x1400a31a0
cmp edi, dword [rbx - 0xc]
jg 0x1400a31a0
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rsi, qword [rsp + 0x98]
mov rsi, qword [rsp + rsi*8 + 0x1f0]
test rsi, rsi
jne 0x1400a236d
xor r12d, r12d
jmp 0x1400a237f
xor eax, eax
mov rcx, r15
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
mov rdi, rsi
sub rdi, rbx
sar rdi, 1
mov r13d, dword [rbx - 0x10]
lea ebp, [r13 + r12]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, edx
jge 0x1400a23b3
mov edx, ebp
lea rcx, [rsp + 0x70]
call fcn.140003c90
mov rbx, qword [rsp + 0x70]
cmp rdi, r13
ja 0x1400a23bc
lea rsi, [rbx + rdi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.140216220
test ebp, ebp
js 0x1400a3195
cmp ebp, dword [rbx - 0xc]
jg 0x1400a3195
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
mov word [rbx + rax*2], 0
xor eax, eax
mov rcx, r15
lea rdi, str.Default
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rbp, str.Default
lea rsi, str.Default
sub rsi, rbx
sar rsi, 1
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a2443
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140003c90
mov rbx, qword [rsp + 0x70]
cmp rsi, r12
ja 0x1400a244c
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.140216220
test edi, edi
js 0x1400a318a
cmp edi, dword [rbx - 0xc]
jg 0x1400a318a
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
xor ebp, ebp
mov qword [rsp + 0x78], rbp
lea rax, [rsp + 0x78]
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 0x1400a30e8
mov eax, ebp
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a24c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x88], rcx
test eax, eax
jne 0x1400a30e8
cmp dword [rsp + 0xe8], ebp
je 0x1400a2b33
mov r12, qword [rsp + 0xe0]
mov rax, qword [r12 + 0x30]
bt dword [rax + 0x184], 0xf
jb 0x1400a2b3b
lea rax, [0x14025db30]
mov qword [rsp + 0x210], rax
lea rax, [0x14025db48]
mov qword [rsp + 0x218], rax
lea rax, [0x14025da28]
mov qword [rsp + 0x220], rax
lea rax, [0x14025da40]
mov qword [rsp + 0x228], rax
lea rax, [0x14025da58]
mov qword [rsp + 0x230], rax
lea rax, [0x14025da70]
mov qword [rsp + 0x238], rax
lea rax, [0x14025da88]
mov qword [rsp + 0x240], rax
lea rax, [0x14025daa0]
mov qword [rsp + 0x248], rax
lea rax, [0x14025dad0]
mov qword [rsp + 0x250], rax
lea rax, [0x14025dae8]
mov qword [rsp + 0x258], rax
lea rax, [0x14025db00]
mov qword [rsp + 0x260], rax
lea rax, [0x14025db18]
mov qword [rsp + 0x268], rax
mov r13d, ebp
lea r14, [rsp + 0x210]
mov dword [rsp + 0xb8], ebp
mov rcx, qword [r14]
lea rdx, [rsp + 0x290]
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 rdx, [rsp + 0xcc]
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
mov r12d, ebp
cmp qword [rsp + 0x78], 0
je 0x1400a27e9
call fcn.1401e9268
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x1400a3142
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x138], rax
movzx ecx, byte [rsp + 0xdb]
movzx edx, byte [rsp + 0xda]
movzx edi, byte [rsp + 0xd9]
movzx r8d, byte [rsp + 0xd8]
movzx r10d, byte [rsp + 0xd7]
movzx r11d, byte [rsp + 0xd6]
movzx ebx, byte [rsp + 0xd5]
movzx esi, byte [rsp + 0xd4]
movzx ebp, word [rsp + 0xd2]
movzx r9d, word [rsp + 0xd0]
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
mov r8d, dword [rsp + 0xcc]
lea rdx, str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X__d
lea rcx, [rsp + 0x138]
call fcn.140004020
xor eax, eax
mov rcx, r15
mov rbx, qword [rsp + 0x138]
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov edi, eax
mov ecx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
test rax, rax
je 0x1400a27cd
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1402197d0
xor eax, eax
mov rcx, r15
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov r8d, r8d
add r8, r8
mov rdx, rbx
mov rcx, rsi
call fcn.140219480
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a276a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0xf8], 4
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a27bd
cmp dword [rsp + 0x100], 4
mov eax, 1
cmove r12d, eax
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12d, r12d
jne 0x1400a2822
jmp 0x1400a27e9
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a27e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x1c8]
call fcn.14003c0d0
mov rdx, qword [rsp + 0x1c8]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2822
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + rax*4 + 0x120]
mov rsi, qword [rsp + 0xc0]
cmp dword [rsp + rsi*8 + 0x108], 0
je 0x1400a2851
mov eax, dword [rsp + 0x2a0]
add eax, 0xbb8
jmp 0x1400a2875
cmp dword [rsp + rsi*8 + 0x10c], 0
je 0x1400a2869
mov eax, dword [rsp + 0x2a0]
add eax, 0x3e8
jmp 0x1400a2875
mov eax, dword [rsp + 0x2a0]
add eax, 0x7d0
cmp ecx, 4
jne 0x1400a2888
add eax, 0x9c40
mov dword [rsp + 0x2a0], eax
jmp 0x1400a28a7
cmp ecx, 2
jne 0x1400a289b
add eax, 0x4e20
mov dword [rsp + 0x2a0], eax
jmp 0x1400a28a7
add eax, 0x2710
mov dword [rsp + 0x2a0], eax
mov ebx, dword [rsp + 0xb8]
mov r12, qword [rsp + 0xe0]
cmp qword [r12 + 0x30], 0
je 0x1400a2ad7
xor ebp, ebp
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x80], rbp
xor eax, eax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2939
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a2a07
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2a07
mov rax, qword [r12 + 0x30]
mov rcx, qword [rsp + 0x80]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x290]
mov r8d, esi
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x50]
test eax, eax
jns 0x1400a2988
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a2a07
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2a07
cmp word [rsp + 0x168], 0x13
je 0x1400a29b7
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a2a07
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2a07
mov edi, dword [rsp + 0x170]
mov dword [rsp + 0x1c0], edi
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a29e7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400a2a07
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400a2b12
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2b12
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov r8d, esi
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2a4d
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400a2ad9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2ad9
xor eax, eax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], rax
mov word [rsp + 0x180], 0x13
mov dword [rsp + 0x188], ebx
mov rax, qword [r12 + 0x30]
mov rcx, qword [rsp + 0xa8]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x290]
mov r8d, esi
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x58]
mov edi, eax
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov ebx, ebp
test edi, edi
setns bl
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400a2ad1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x1400a2b12
jmp 0x1400a2ad9
xor ebp, ebp
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x1d8]
call fcn.14003c0d0
mov rdx, qword [rsp + 0x1d8]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2b12
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r13d, 1
add r14, 8
cmp r13d, 0xc
jb 0x1400a25c1
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0xc0]
jmp 0x1400a2b3b
mov r12, qword [rsp + 0xe0]
cmp dword [rsp + 0xec], 0
je 0x1400a30d0
mov rax, qword [r12 + 0x30]
test byte [rax + 0x186], 1
jne 0x1400a30d0
lea rax, [0x14025d9b0]
mov qword [rsp + 0x1e0], rax
lea rax, [0x14025d9c8]
mov qword [rsp + 0x1e8], rax
mov r13d, ebp
lea r14, [rsp + 0x1e0]
mov dword [rsp + 0xc8], ebp
mov rcx, qword [r14]
lea rdx, [rsp + 0x278]
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
mov r12d, ebp
cmp qword [rsp + 0x78], 0
je 0x1400a2d88
call fcn.1401e9268
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x1400a314d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x140], rax
movzx ecx, byte [rsp + 0x287]
movzx edx, byte [rsp + 0x286]
movzx edi, byte [rsp + 0x285]
movzx r8d, byte [rsp + 0x284]
movzx r10d, byte [rsp + 0x283]
movzx r11d, byte [rsp + 0x282]
movzx ebx, byte [rsp + 0x281]
movzx esi, byte [rsp + 0x280]
movzx ebp, word [rsp + 0x27e]
movzx r9d, word [rsp + 0x27c]
mov eax, dword [rsp + 0x288]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
mov r8d, dword [rsp + 0x278]
lea rdx, str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X__d
lea rcx, [rsp + 0x140]
call fcn.140004020
xor eax, eax
mov rcx, r15
mov rbx, qword [rsp + 0x140]
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov edi, eax
mov ecx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
test rax, rax
je 0x1400a2d6c
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1402197d0
xor eax, eax
mov rcx, r15
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov r8d, r8d
add r8, r8
mov rdx, rbx
mov rcx, rsi
call fcn.140219480
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2d09
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0xf4], 4
lea rax, [rsp + 0xf4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xfc]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a2d5c
cmp dword [rsp + 0xfc], 4
mov eax, 1
cmove r12d, eax
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12d, r12d
jne 0x1400a2dc1
jmp 0x1400a2d88
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2d88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x1d0]
call fcn.14003c0d0
mov rdx, qword [rsp + 0x1d0]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a2dc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + rax*4 + 0x120]
mov rsi, qword [rsp + 0xc0]
cmp dword [rsp + rsi*8 + 0x108], 0
je 0x1400a2df0
mov eax, dword [rsp + 0x288]
add eax, 0xbb8
jmp 0x1400a2e14
cmp dword [rsp + rsi*8 + 0x10c], 0
je 0x1400a2e08
mov eax, dword [rsp + 0x288]
add eax, 0x3e8
jmp 0x1400a2e14
mov eax, dword [rsp + 0x288]
add eax, 0x7d0
cmp ecx, 4
jne 0x1400a2e27
add eax, 0x9c40
mov dword [rsp + 0x288], eax
jmp 0x1400a2e46
cmp ecx, 2
jne 0x1400a2e3a
add eax, 0x4e20
mov dword [rsp + 0x288], eax
jmp 0x1400a2e46
add eax, 0x2710
mov dword [rsp + 0x288], eax
mov ebx, dword [rsp + 0xc8]
mov r12, qword [rsp + 0xe0]
cmp qword [r12 + 0x30], 0
je 0x1400a3076
xor ebp, ebp
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x90], rbp
xor eax, eax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2ed8
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a2fa6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2fa6
mov rax, qword [r12 + 0x30]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x150]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x278]
mov r8d, esi
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x50]
test eax, eax
jns 0x1400a2f27
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a2fa6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2fa6
cmp word [rsp + 0x150], 0x13
je 0x1400a2f56
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a2fa6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a2fa6
mov edi, dword [rsp + 0x158]
mov dword [rsp + 0x1b0], edi
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a2f86
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400a2fa6
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a30b1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a30b1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140260ad8]
mov r8d, esi
xor edx, edx
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2fec
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a3078
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a3078
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], ebx
mov rax, qword [r12 + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rcx]
lea rdx, [rsp + 0x198]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x278]
mov r8d, esi
mov rdx, qword [rax + 0x28]
call qword [rdi + 0x58]
mov edi, eax
lea rcx, [rsp + 0x198]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov ebx, ebp
test edi, edi
setns bl
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400a3070
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x1400a30b1
jmp 0x1400a3078
xor ebp, ebp
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x1b8]
call fcn.14003c0d0
mov rdx, qword [rsp + 0x1b8]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a30b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r13d, 1
add r14, 8
cmp r13d, 2
jb 0x1400a2b84
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a30e8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], rbp
mov edx, dword [rsp + 0xa0]
add edx, 1
mov dword [rsp + 0xa0], edx
add qword [rsp + 0x98], 1
cmp edx, 3
mov r13d, 1
jb 0x1400a2130
mov eax, dword [rsp + 0xa4]
add eax, r13d
mov dword [rsp + 0xa4], eax
add r14, r13
mov qword [rsp + 0xc0], r14
cmp eax, 3
jae 0x1400a3158
jmp 0x1400a2120
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80004005
call fcn.140003c70
int3
mov ecx, 0x80004005
call fcn.140003c70
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r15d
add r15d, 0xffffffff
test r15d, r15d
jg 0x1400a3175
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400a31c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a31c1
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
int3
mov ecx, 0x80070057
call fcn.140003c70
nop
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140216200
lea r11, [rsp + 0x2b0]
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