Function at 0x100032e50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rbp, rcx
mov dword [rsp + 0x88], ebx
mov rcx, qword [0x1000dedd8]
lea rdi, [0x1000dedd8]
lea r15d, [rbx + 1]
cmp rcx, rdi
je 0x100032ea3
test byte [rcx + 0x1c], r15b
je 0x100032ea3
cmp byte [rcx + 0x19], 5
jb 0x100032ea3
mov rcx, qword [rcx + 0x10]
lea r8, [0x100008e80]
mov edx, 0x185
call fcn.100020584
and qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
lea r12, [0x10000b5e0]
mov rdx, r12
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000001
xor r14d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000331b9
mov r14, qword [rsp + 0x30]
mov rcx, qword [0x1000dedd8]
lea rsi, [0x10000c3f4]
cmp rcx, rdi
je 0x100032f68
test byte [rcx + 0x1c], r15b
je 0x100032f68
cmp byte [rcx + 0x19], 5
jb 0x100032f68
mov ebx, r15d
mov qword [rsp + 0x90], r12
test r12, r12
jne 0x100032f18
xor edi, edi
xor r9d, r9d
jmp 0x100032f51
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x100032f47
lea r9, [rsp + 0x90]
mov r8d, r15d
mov edx, r15d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov r9, rax
mov rcx, qword [0x1000dedd8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100008e80]
mov edx, 0x186
call fcn.100020614
jmp 0x100032f6d
mov rdi, qword [rsp + 0x30]
test r15b, bl
je 0x100032f83
and ebx, 0xfffffffe
test rdi, rdi
je 0x100032f83
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [rsp + 0x88], 0
lea rax, [rsp + 0x90]
lea rdi, [0x10000b640]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x90], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000330a8
cmp dword [rsp + 0x98], 4
jne 0x1000330a8
test eax, eax
jne 0x1000330a8
mov eax, dword [rsp + 0x88]
imul eax, eax, 0x3e8
mov dword [rbp + 0x4e0], eax
mov rcx, qword [0x1000dedd8]
lea rdx, [0x1000dedd8]
cmp rcx, rdx
je 0x10003308c
test byte [rcx + 0x1c], r15b
je 0x10003308c
cmp byte [rcx + 0x19], 5
jb 0x10003308c
or ebx, 2
mov qword [rsp + 0x90], rdi
test rdi, rdi
jne 0x100033032
xor esi, esi
jmp 0x100033068
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x10003305e
lea r9, [rsp + 0x90]
mov r8d, r15d
mov edx, r15d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rsi, rax
mov rcx, qword [0x1000dedd8]
mov eax, dword [rbp + 0x4e0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100008e80]
mov edx, 0x187
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.100020b88
jmp 0x100033091
mov rdi, qword [rsp + 0x30]
test bl, 2
je 0x100033258
test rdi, rdi
je 0x100033258
jmp 0x10003324f
mov rax, qword [0x1000dedd8]
lea rdx, [0x1000dedd8]
cmp rax, rdx
je 0x10003317f
test byte [rax + 0x1c], r15b
je 0x10003317f
cmp byte [rax + 0x19], 5
jb 0x10003317f
or ebx, 0xc
mov qword [rsp + 0x90], r12
test r12, r12
jne 0x1000330e7
xor ebp, ebp
jmp 0x100033119
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbp, rax
test rax, rax
jne 0x100033116
lea r9, [rsp + 0x90]
mov r8d, r15d
mov edx, r15d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov r12, rax
mov qword [rsp + 0x98], rdi
test rdi, rdi
jne 0x10003312a
xor esi, esi
jmp 0x100033159
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x100033156
lea r9, [rsp + 0x98]
mov r8d, r15d
mov edx, r15d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rsi, rax
mov rcx, qword [0x1000dedd8]
lea r8, [0x100008e80]
mov edx, 0x188
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov qword [rsp + 0x20], r12
call fcn.100020694
jmp 0x100033189
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
test bl, 8
je 0x10003319f
and ebx, 0xfffffff7
test rdi, rdi
je 0x10003319f
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, 4
je 0x100033258
test rbp, rbp
je 0x100033258
mov rcx, rbp
jmp 0x100033252
mov rcx, qword [0x1000dedd8]
cmp rcx, rdi
je 0x100033240
test byte [rcx + 0x1c], r15b
je 0x100033240
cmp byte [rcx + 0x19], 2
jb 0x100033240
mov ebx, 0x10
mov qword [rsp + 0x88], r12
test r12, r12
jne 0x1000331e9
xor edi, edi
xor esi, esi
jmp 0x100033226
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x10003321c
lea r9, [rsp + 0x88]
mov r8d, r15d
mov edx, r15d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rsi, rax
mov rcx, qword [0x1000dedd8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100008e80]
mov edx, 0x189
mov r9, rsi
call fcn.100020614
jmp 0x100033245
mov rdi, qword [rsp + 0x30]
test bl, 0x10
je 0x100033266
test rdi, rdi
je 0x100033266
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14, r14
je 0x100033266
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret