Function at 0x1003cc20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.100083a0
add esp, 0xc
push 1
push 0x10060f30
call fcn.1003bf80
add esp, 8
call fcn.1000fc80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1003cc81
mov dword [ebp - 0x424], 0
jmp 0x1003cce0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x1003cca6
mov dword [ebp - 0x428], 0
jmp 0x1003ccd4
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.10040080
mov dword [ebp - 0x42c], esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x42c]
push edx
call fcn.1000fc90
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x1017fb1c]
test eax, eax
je 0x1003cd17
push 0
push 0x10060f44
call fcn.1003bf80
add esp, 8
or eax, 0xffffffff
jmp 0x1003ceaf
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1003cd58
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10060f58
call fcn.1003bf80
add esp, 8
or eax, 0xffffffff
jmp 0x1003ceaf
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10060f6c
call fcn.1003bf80
add esp, 8
movzx edx, byte [0x10124fc9]
test edx, edx
je 0x1003ce02
push 0x10060f80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003cdb9
push 0x10060f94
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003cdb9
push 0x10060fac
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1003ce02
mov byte [ebp - 0x420], 0
push 0x3ff
push 0
lea eax, [ebp - 0x41f]
push eax
call fcn.1003e4a0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
call fcn.1003c5c0
add esp, 0x10
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.10008420
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
call fcn.1003e400
add esp, 4
cmp eax, 2
jbe 0x1003ce6d
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1003e400
add esp, 4
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + eax - 1]
cmp eax, 0xa
jne 0x1003ce40
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1003e400
add esp, 4
mov edx, dword [ebp + 0x14]
mov byte [edx + eax - 1], 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.1003e400
add esp, 4
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0xd
jne 0x1003ce6d
mov eax, dword [ebp + 0x14]
push eax
call fcn.1003e400
add esp, 4
mov ecx, dword [ebp + 0x14]
mov byte [ecx + eax - 1], 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.1003e400
add esp, 4
mov ecx, dword [ebp + 0x18]
sub ecx, eax
je 0x1003ceac
mov edx, dword [ebp + 0x14]
push edx
call fcn.1003e400
add esp, 4
mov ecx, dword [ebp + 0x18]
sub ecx, eax
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.1003e400
add esp, 4
add eax, dword [ebp + 0x14]
push eax
call fcn.100083a0
add esp, 0xc
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x42c]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret