Function at 0x1003b66
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x101d094]
push esi
push edi
xor esi, esi
push 1
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], esi
call fcn.01003bef
mov edi, dword [fcn.01001388]
push esi
push esi
push 0xb
push ebx
call edi
push esi
push esi
push 0x1009
push ebx
call edi
cmp dword [0x101d0a8], esi
jne 0x1004fe4
push esi
push 1
push 0xb
push ebx
call edi
push esi
call fcn.01003bef
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4
push 0xfffffffffffffff0
lea eax, [ebp - 0x204]
push ebx
mov dword [ebp - 0x268], 3
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x260], esi
call dword [0x100137c]
or eax, 0x10
push eax
push 0xfffffffffffffff0
push ebx
call dword [0x1001318]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x208]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [0x101d0a8]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x21c], 1
jmp 0x10051f0
cmp dword [ebp - 0x208], 1
je 0x100508b
cmp dword [ebp - 0x208], 2
je 0x100508b
cmp dword [ebp - 0x208], 7
je 0x100508b
xor eax, eax
jmp 0x100508e
push 2
pop eax
mov ecx, dword [ebp - 0x20c]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001188]
mov dword [ebp - 0x210], eax
cmp eax, esi
je 0x1005161
lea ecx, [ebp - 0x20c]
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
push esi
lea eax, [ebp - 0x204]
push eax
push dword [0x101d0a8]
call fcn.01003313
test eax, eax
je 0x10050e9
mov dword [ebp - 0x220], 0x65
mov dword [ebp - 0x218], 1
jmp 0x1005153
cmp dword [ebp - 0x214], esi
jne 0x10050fb
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x208], 1
je 0x1005120
cmp dword [ebp - 0x208], 2
je 0x1005120
cmp dword [ebp - 0x208], 7
mov dword [ebp - 0x24c], 5
jne 0x100512a
mov dword [ebp - 0x24c], 4
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104d
push ebx
call edi
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
push ebx
call fcn.01010222
push dword [ebp - 0x210]
call dword [fcn.01001184]
jmp 0x1005175
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x220], 0x66
cmp dword [ebp - 0x218], esi
je 0x10051aa
lea eax, [ebp - 0x204]
push eax
movzx eax, word [ebp - 0x220]
push 0x10
push 0x64
push eax
push dword [ebp - 0x22c]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x18
mov dword [ebp - 0x218], esi
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x208]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x21c]
mov dword [ebp - 0x20c], esi
push dword [0x101d0a8]
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x21c]
mov dword [ebp - 0x210], eax
cmp eax, esi
je 0x100506c
push dword [ebp - 0x228]
push 0xfffffffffffffff0
push ebx
call dword [0x1001318]
mov eax, dword [0x101d0b4]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x24c], 4
push esi
cmp dword [ebp - 0x224], esi
je 0x100524c
push 0x104c
push ebx
mov dword [ebp - 0x268], 1
call edi
jmp 0x100525f
push 0x104d
push ebx
call edi
push 1
push esi
push esi
push esi
push ebx
call fcn.01010222
xor eax, eax
inc eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x2a4]
push eax
push esi
push 0x102b
push ebx
call edi
jmp 0x1003bc5