Function at 0x1400aab30
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 [0x14031eda0]
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 0x1400ac20f
cmp dword [rax + 0x50], 0
je 0x1400ac20f
call fcn.1401ff164
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400aabb0
mov ecx, 0x80004005
call fcn.140002bc0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.1401ff164
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400aabe1
mov ecx, 0x80004005
call fcn.140002bc0
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.14000b770
xor eax, eax
mov rcx, rbx
lea rsi, [0x140279558]
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 0x1400aad1a
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140002be0
mov r12, qword [rsp + 0x68]
cmp rbx, r13
ja 0x1400aad23
lea rsi, [r12 + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [r12 + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.14022ba40
test edi, edi
js 0x1400ac204
cmp edi, dword [r12 - 0xc]
jg 0x1400ac204
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 0x1400aadaa
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x80], rsi
jmp 0x1400aae0b
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 0x1400ac1c5
mov rsi, qword [rsp + 0x128]
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x238]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x278fb0]
mov qword [rcx], rax
mov rax, qword [rdx + 0x278fb8]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x278fc0]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x138], rbx
mov edi, ebx
test rsi, rsi
je 0x1400aaef2
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x238]
call fcn.140049620
test eax, eax
js 0x1400aaef2
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 0x1400aaec1
cmp dword [rsp + 0xec], 4
mov r13d, 1
cmove edi, r13d
jmp 0x1400aaec7
mov r13d, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x1400aaef0
mov r9d, r13d
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401679e0
xor ebx, ebx
jmp 0x1400aaef2
xor ebx, ebx
lea r13, [rsp + 0x108]
mov r14d, 3
lea rbp, [0x140000000]
lea r12d, [r14 - 2]
jmp 0x1400aaf12
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x238]
mov rax, qword [rbp + 0x276250]
mov qword [rcx], rax
mov rax, qword [rbp + 0x276258]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0x276260]
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 0x1400aafd5
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x238]
call fcn.140049620
test eax, eax
js 0x1400aafd5
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 0x1400aafca
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 0x1400ab1ca
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, [0x140279a78]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400ab04e
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ab10c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ab10c
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 0x1400ab093
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ab10c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ab10c
cmp word [rsp + 0x180], 0x13
je 0x1400ab0bf
lea rcx, [rsp + 0x180]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ab10c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ab10c
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 0x1400ab0ec
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400ab10c
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400ab1ca
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ab1ca
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140279a78]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400ab14f
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400ab1ca
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ab1ca
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 0x1400ab1ca
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add r13, 4
sub r14, 1
jne 0x1400aaf10
call fcn.1401ff164
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 0x1400ab201
mov ecx, 0x80004005
call fcn.140002bc0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rdx, [0x140275388]
test rdx, 0xffffffffffff0000
jne 0x1400ab249
movzx edi, dx
mov ecx, edi
call fcn.140200fbc
test rax, rax
je 0x1400ab26b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1401bacf0
mov rbx, qword [rsp + 0x58]
jmp 0x1400ab26b
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.14000b770
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
lea rdi, [0x140000000]
mov rax, qword [rdi + 0x276520]
mov qword [rcx], rax
mov rax, qword [rdi + 0x276528]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x276530]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0xe0], 0
test rsi, rsi
je 0x1400ab4b6
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x238]
call fcn.140049620
test eax, eax
js 0x1400ab4b6
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 0x1400ab4a5
mov eax, dword [rsp + 0x104]
cmp eax, 1
je 0x1400ab32b
cmp eax, 2
jne 0x1400ab4a5
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x1400ab351
test al, 1
jne 0x1400ab4a5
shr rax, 1
cmp word [rsp + rax*2 + 0x24e], 0
je 0x1400ab35b
jmp 0x1400ab4a5
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 0x1400ab405
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400ab49e
cmp dword [rdx + 0x10], eax
jge 0x1400ab3b5
cmp dword [rbx - 0xc], eax
jge 0x1400ab3a3
mov ecx, 0x80070057
call fcn.140002bc0
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
lea rdi, [0x140000000]
jmp 0x1400ab4a5
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ab3cd
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 0x1400ab4a5
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 0x1400ab439
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002be0
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400ab459
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.14022c8a0
jmp 0x1400ab476
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x250]
mov rdx, r13
mov rcx, rbx
call fcn.14022ba40
test edi, edi
js 0x1400ab493
cmp edi, dword [rbx - 0xc]
jg 0x1400ab493
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
lea rdi, [0x140000000]
jmp 0x1400ab4a5
mov ecx, 0x80070057
call fcn.140002bc0
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 0x1400ab4d7
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401676d0
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x238]
mov rax, qword [rdi + 0x276598]
mov qword [rcx], rax
mov rax, qword [rdi + 0x2765a0]
mov qword [rcx + 8], rax
mov eax, dword [rdi + 0x2765a8]
mov dword [rcx + 0x10], eax
xor edi, edi
mov qword [rsp + 0xf0], rdi
test rsi, rsi
je 0x1400ab701
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x238]
call fcn.140049620
test eax, eax
js 0x1400ab701
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 0x1400ab6f0
mov eax, dword [rsp + 0xfc]
cmp eax, 1
je 0x1400ab58e
cmp eax, 2
jne 0x1400ab6f0
mov eax, dword [rsp + 0xac]
test eax, eax
je 0x1400ab5b3
test al, 1
jne 0x1400ab6f0
shr rax, 1
cmp word [rsp + rax*2 + 0x45e], di
je 0x1400ab5bb
jmp 0x1400ab6f0
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 0x1400ab65a
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400ab6ee
cmp dword [rdx + 0x10], eax
jge 0x1400ab60f
cmp dword [rbx - 0xc], eax
jge 0x1400ab602
mov ecx, 0x80070057
call fcn.140002bc0
int3
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], ax
jmp 0x1400ab6f0
mov eax, r8d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ab627
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 0x1400ab6f0
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 0x1400ab68e
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140002be0
mov rbx, qword [rsp + 0x58]
cmp r14, r13
ja 0x1400ab6ae
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.14022c8a0
jmp 0x1400ab6cb
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x460]
mov rdx, r13
mov rcx, rbx
call fcn.14022ba40
test edi, edi
js 0x1400ab6e3
cmp edi, dword [rbx - 0xc]
jg 0x1400ab6e3
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
xor edi, edi
jmp 0x1400ab6f0
mov ecx, 0x80070057
call fcn.140002bc0
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 0x1400ab71d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401676d0
test rsi, rsi
je 0x1400ab733
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 0x1400ab90a
cmp dword [rdi + 0x10], 0
jl 0x1400ab81c
mov rcx, qword [rbx]
cmp rcx, qword [rdi]
jne 0x1400ab81c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x1400ab7b1
cmp rax, qword [rbx]
jne 0x1400ab7b1
mov rbp, rbx
lock add dword [rbx + 0x10], 1
jmp 0x1400ab7ee
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx + 8]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x1400ac0f3
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.14022ba40
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ab809
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 0x1400ab90a
mov rax, qword [rsp + 0x1f0]
movsxd rbx, dword [rax]
test ebx, ebx
jne 0x1400ab88e
mov rbx, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400ab90a
cmp dword [rdi + 0x10], 0
jge 0x1400ab85a
cmp dword [rbp - 0xc], 0
jl 0x1400ac0f9
mov dword [rbp - 0x10], 0
mov word [rbp], 0
jmp 0x1400ab90a
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ab875
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 0x1400ab90a
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 0x1400ab8bd
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140002be0
mov rbp, qword [rsp + 0x50]
cmp rsi, r13
ja 0x1400ab8db
lea rdi, [rbx + rbx]
lea r8, [rbp + rsi*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.14022c8a0
jmp 0x1400ab8f0
lea rdi, [rbx + rbx]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.14022ba40
test ebx, ebx
js 0x1400ac104
cmp ebx, dword [rbp - 0xc]
jg 0x1400ac104
mov dword [rbp - 0x10], ebx
mov word [rdi + rbp], 0
mov rbx, qword [rsp + r14*8 + 0x218]
test rbx, rbx
jne 0x1400ab91c
xor r13d, r13d
jmp 0x1400ab92f
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 0x1400ab962
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002be0
mov rbp, qword [rsp + 0x50]
cmp rsi, r14
ja 0x1400ab96c
lea rbx, [rbp + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.14022ba40
test edi, edi
js 0x1400ac1ba
cmp edi, dword [rbp - 0xc]
jg 0x1400ac1ba
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 0x1400ab9ba
xor r13d, r13d
jmp 0x1400ab9cd
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 0x1400aba00
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140002be0
mov rbp, qword [rsp + 0x50]
cmp rdi, r14
ja 0x1400aba0a
lea rbx, [rbp + rdi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbp + r14*2]
mov r9, rdx
mov r8, rbx
call fcn.14022ba40
test esi, esi
js 0x1400ac1af
cmp esi, dword [rbp - 0xc]
jg 0x1400ac1af
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 0x1400aba94
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002be0
mov rbp, qword [rsp + 0x50]
cmp rbx, r13
ja 0x1400aba9e
lea rsi, [rbp + rbx*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbp + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.14022ba40
test edi, edi
js 0x1400ac1a4
cmp edi, dword [rbp - 0xc]
jg 0x1400ac1a4
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 0x1400ac099
mov eax, edi
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400abb1f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x98], rcx
test eax, eax
jne 0x1400ac099
lea r13, [0x140321eb0]
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.1400497e0
test eax, eax
je 0x1400ac063
mov rsi, qword [rsp + 0x130]
test rsi, rsi
je 0x1400ac063
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 0x1400abe61
sub edx, 1
je 0x1400abe3d
sub edx, 7
je 0x1400abe1e
cmp edx, 8
jne 0x1400ac059
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400ac059
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, [0x140279a78]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400abc83
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400abd50
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abd50
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 0x1400abcd1
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400abd50
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abd50
cmp word [rsp + 0x150], 0x13
je 0x1400abd00
lea rcx, [rsp + 0x150]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400abd50
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abd50
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 0x1400abd30
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400abd50
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ac059
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x140279a78]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400abd97
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ac059
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 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ac059
mov r9d, 1
movzx r8d, word [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.1401681c0
jmp 0x1400ac059
cmp qword [r15 + 0x30], 0
je 0x1400ac059
movss xmm2, dword [rsi]
lea rdx, [rsp + 0x238]
mov rcx, r15
call fcn.140167f20
jmp 0x1400ac059
mov ebx, dword [rsi]
cmp qword [r15 + 0x30], 0
je 0x1400ac059
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, [0x140279a78]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400abed6
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400abf97
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abf97
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 0x1400abf1e
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400abf97
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abf97
cmp word [rsp + 0x168], 3
je 0x1400abf4a
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400abf97
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400abf97
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 0x1400abf77
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, ebx
jne 0x1400abf97
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ac059
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x140279a78]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140279a18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400abfdb
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400ac059
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 0x1400ac059
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call fcn.14022cf10
xor edi, edi
add r13, 0x20
sub r14, 1
jne 0x1400abb52
mov rax, qword [rsp + 0xd8]
test rax, rax
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
je 0x1400ac099
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 0x1400ab770
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 0x1400ac10f
jmp 0x1400ab760
call fcn.1400e7510
int3
mov ecx, 0x80070057
call fcn.140002bc0
int3
mov ecx, 0x80070057
call fcn.140002bc0
int3
mov rcx, r15
call fcn.1400ac3c0
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 0x1400ac13c
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 0x1400ac150
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400ac164
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 0x1400ac185
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 0x1400ac20f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400ac20f
mov ecx, 0x80070057
call fcn.140002bc0
int3
mov ecx, 0x80070057
call fcn.140002bc0
int3
mov ecx, 0x80070057
call fcn.140002bc0
nop
lea rdx, [rbp - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400ac1e4
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 0x1400ac20f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400ac20f
mov ecx, 0x80070057
call fcn.140002bc0
nop
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14022b9b0
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