Function at 0x10003080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1828
call fcn.10018f10
mov dword [ebp - 0x1824], ecx
mov dword [ebp - 0x1814], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1828], eax
cmp dword [ebp - 0x1828], 0x80000000
je 0x1000311e
cmp dword [ebp - 0x1828], 0x80000001
je 0x100030cc
cmp dword [ebp - 0x1828], 0x80000002
je 0x100030f5
jmp 0x10003147
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1001ba04
call fcn.100011b0
add esp, 4
push eax
push 0x1000
lea edx, [ebp - 0x1810]
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
jmp 0x10003172
mov eax, dword [ebp + 0xc]
push eax
push 0x1001b95c
call fcn.100011b0
add esp, 4
push eax
push 0x1000
lea ecx, [ebp - 0x1810]
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
jmp 0x10003172
mov edx, dword [ebp + 0xc]
push edx
push 0x1001ba24
call fcn.100011b0
add esp, 4
push eax
push 0x1000
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
jmp 0x10003172
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1001ba44
call fcn.100011b0
add esp, 4
push eax
push 0x1000
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1810]
push edx
call fcn.10010670
add esp, 8
lea eax, [ebp - 0x1810]
push eax
push 0x1001ba64
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1824]
push ecx
call fcn.10001d70
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100031f6
mov edx, dword [ebp - 4]
push edx
push 0x1001ba70
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x1824]
push eax
call fcn.10001d70
add esp, 0xc
xor eax, eax
jmp 0x10003395
mov dword [ebp - 0x181c], 0x400
mov dword [ebp - 0x1818], 0x400
lea ecx, [ebp - 0x1818]
push ecx
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0x181c]
push ecx
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp - 0x1814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003383
cmp dword [ebp - 8], 3
jne 0x100032f5
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x808]
push eax
push 0x1001ba90
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1824]
push ecx
call fcn.10001d70
add esp, 0x10
mov dword [ebp - 0x1820], 0
jmp 0x1000329a
mov edx, dword [ebp - 0x1820]
add edx, 1
mov dword [ebp - 0x1820], edx
mov eax, dword [ebp - 0x1820]
cmp eax, dword [ebp - 0x1818]
jae 0x100032d6
mov ecx, dword [ebp - 0x1820]
movsx edx, byte [ebp + ecx - 0x408]
push edx
push 0x1001baa0
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x1824]
push eax
call fcn.10001d70
add esp, 0xc
jmp 0x1000328b
push 0x1001bab0
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1824]
push ecx
call fcn.10001d70
add esp, 8
jmp 0x1000335b
cmp dword [ebp - 8], 4
jne 0x1000332c
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
push 0x1001babc
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x1824]
push edx
call fcn.10001d70
add esp, 0x14
jmp 0x1000335b
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
push 0x1001bad0
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x1824]
push eax
call fcn.10001d70
add esp, 0x14
mov dword [ebp - 0x181c], 0x400
mov dword [ebp - 0x1818], 0x400
mov ecx, dword [ebp - 0x1814]
add ecx, 1
mov dword [ebp - 0x1814], ecx
jmp 0x1000320a
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8