Function at 0x100a5d7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x1026635
call fcn.0100165a
mov dword [ebp - 0x40], ecx
xor ebx, ebx
mov dword [ebp - 0x48], 0x100a748
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x44]
push eax
push 0x20019
push ebx
push 0x100a6b8
push SysStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
je 0x1015485
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
je 0x10154aa
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
je 0x101553a
cmp dword [ebp - 0x10], 0x103
je 0x100a654
cmp dword [ebp - 0x10], 2
jne 0x100a6a7
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jne 0x100a6af
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x10155c0
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
jne 0x10155e6
cmp dword [ebp - 0x28], ebx
mov byte [ebp - 4], 1
jne 0x10155f4
cmp dword [ebp - 0x30], ebx
mov byte [ebp - 4], bl
jne 0x1015602
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x100a748
call fcn.0100a232
mov eax, esi
call fcn.01001641
ret
cmp dword [ebp - 0x10], 3
je 0x100a654
jmp 0x100a657
jle 0x100a669
jmp 0x10155d5
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x10], eax
jmp 0x100a623
cmp dword [ebp - 0x18], ebx
je 0x100a639
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
push 2
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or eax, ecx
push eax
call dword [0x102b89c]
inc dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
push 2
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or eax, ecx
push eax
call dword [0x102b89c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
push 0x10
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or eax, ecx
push eax
call dword [0x102b89c]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], eax
je 0x101552e
cmp dword [ebp - 0x28], ebx
je 0x101552e
cmp eax, ebx
je 0x101552e
mov ecx, dword [ebp - 0x18]
shl ecx, 4
push ecx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x100a639
mov dword [ebp - 0x10], 8
jmp 0x100a639
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jae 0x100a645
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x10155a2
cmp dword [ebp - 0x34], 1
jne 0x10155a2
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, ebx
jge 0x10155ae
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
cmp eax, ebx
jge 0x10155ae
mov edi, dword [ebp - 0x14]
mov esi, 0x1016444
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x2c]
add dword [ebp - 0x14], 0x10
cmp dword [ebp - 0x10], ebx
jne 0x100a645
jmp 0x1015540
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov dword [ebp - 0x1c], ebx
mov dword [ecx], eax
cmp esi, ebx
jmp 0x100a6af
and esi, 0xffff
or esi, 0x80070000
jmp 0x100a669
push dword [ebp - 0x1c]
call dword [0x102b8a0]
jmp 0x100a676
push dword [ebp - 0x28]
call dword [0x102b8a0]
jmp 0x100a683
push dword [ebp - 0x30]
call dword [0x102b8a0]
jmp 0x100a68f