Function at 0x48d320
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4a66
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x424c
call fcn.0048e930
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x423c], ebx
mov dword [ebp - 0x421c], esi
mov dword [ebp - 0x4220], edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, 1
push 0x103
mov dword [ebp - 0x423c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4258]
push ecx
lea edx, [ebp - 0x4248]
push edx
lea eax, [ebp - 0x424c]
push eax
lea ecx, [ebp - 0x4250]
push ecx
lea edx, [ebp - 0x4234]
push edx
lea eax, [ebp - 0x4230]
push eax
lea ecx, [ebp - 0x422c]
push ecx
lea edx, [ebp - 0x4224]
push edx
push ebx
lea eax, [ebp - 0x4238]
push eax
lea ecx, [ebp - 0x118]
push ecx
push edi
mov dword [ebp - 0x4238], 0x104
mov dword [ebp - 0x4224], ebx
mov dword [ebp - 0x4228], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x4224]
cmp eax, ebx
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
je 0x48d48f
push eax
push str._nNumber_of_subkeys:__d_n
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 8
xor esi, esi
lea esp, [esp]
cmp esi, dword [ebp - 0x4224]
jae 0x48d483
lea edx, [ebp - 0x4258]
push edx
mov edx, dword [ebp - 0x4220]
push 0
push 0
push 0
lea eax, [ebp - 0x4244]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push edx
mov dword [ebp - 0x4244], 0xff
call edi
test eax, eax
jne 0x48d480
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 1]
push ecx
push str.__d___s_n
call ebx
add esp, 0xc
inc esi
jmp 0x48d430
mov edi, dword [ebp - 0x4220]
mov esi, dword [ebp - 0x421c]
mov eax, dword [ebp - 0x4234]
test eax, eax
je 0x48d5f5
push eax
push str._nNumber_of_values:__d_n
call ebx
add esp, 8
xor esi, esi
lea ebx, [ebx]
cmp esi, dword [ebp - 0x4234]
jae 0x48d5a8
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x4228]
push edx
lea eax, [ebp - 0x4218]
push eax
push esi
push edi
mov dword [ebp - 0x4228], 0x3fff
mov byte [ebp - 0x4218], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x48d559
lea ecx, [ebp - 0x4218]
push ecx
lea ecx, [ebp - 0x4220]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0
push str..pst
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
lea ecx, [ebp - 0x4220]
setg bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
test bl, bl
je 0x48d559
lea edx, [ebp - 0x4218]
push edx
lea ecx, [ebp - 0x4240]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov ecx, dword [ebp - 0x421c]
push eax
mov byte [ebp - 4], 2
call fcn.0044bce0
lea ecx, [ebp - 0x4240]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
inc esi
jmp 0x48d4b0
mov eax, dword [ebp - 0x421c]
jmp 0x48d5f7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret