Function at 0x1003bf2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1014004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x21c]
push ecx
push 0x2001b
xor esi, esi
push esi
push ebx
push eax
mov dword [ebp - 0x230], 0x80004005
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003ebe
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1003eb2
cmp dword [ebp - 0x218], esi
jbe 0x1003eb2
lea eax, [ebp - 0x220]
push eax
push 0x100159c
push 3
push esi
push 0x1002b8c
mov dword [ebp - 0x220], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1003ea2
mov eax, dword [ebp - 0x220]
push edi
lea edx, [ebp - 0x224]
push edx
mov edi, 0x100158c
push edi
mov dword [ebp - 0x224], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1003e91
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x210]
push edx
push edi
push ebx
mov dword [ebp - 0x210], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x1003e81
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x218], esi
jbe 0x1003e81
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.010059c0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x23c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1003e74
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x238]
push edx
lea edx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x238], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x1003dba
cmp dword [ebp - 0x238], 1
jne 0x1003dba
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x100157c
lea edx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x214], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1003daa
inc ebx
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x1003dba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, dword [ebp - 0x218]
jne 0x1003e74
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x228]
push edx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x22c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1003e08
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x214]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x1003e32
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x234], esi
jne 0x1003e54
cmp dword [ebp - 0x22c], esi
jne 0x1003e54
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x1003e64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x228]
cmp eax, esi
je 0x1003e74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp - 0x218]
jb 0x1003cf8
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x1003e91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
pop edi
cmp eax, esi
je 0x1003ea2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
cmp eax, esi
je 0x1003eb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x230]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100597b
leave
ret 8