Function at 0x4d1197
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push 0x2001f
push ebx
mov esi, 0x100
push 0x622c94
mov dword [ebp - 4], ecx
push bind
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d11eb
push ebx
push ebx
push str.Registry_Read_Error
call fcn.0054ed65
jmp 0x4d1402
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4d13e6
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
pop eax
cmp dword [ebp - 0x10], eax
jb 0x4d13ae
cmp byte [ebp - 0x128], 0x2e
jne 0x4d1241
cmp byte [ebp - 0x127], 0x2e
je 0x4d1241
mov dword [ebp - 0x1c], eax
jmp 0x4d125f
lea eax, [ebp - 0x128]
push str.UltraEdit.
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00527150
pop ecx
test eax, eax
pop ecx
je 0x4d13ae
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], esi
mov byte [ebp - 0x2f0], bl
je 0x4d1311
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x128]
push str.Content_Type
push eax
call fcn.004d16ed
test eax, eax
je 0x4d13f9
cmp dword [ebp - 0x20], 1
jne 0x4d13ae
cmp dword [ebp + 8], ebx
jne 0x4d13ae
mov eax, dword [ebp - 0xc]
push str.text_plain
mov byte [ebp + eax - 0x2f0], bl
lea eax, [ebp - 0x2f0]
push eax
call fcn.00527150
pop ecx
test eax, eax
pop ecx
je 0x4d13ae
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push 0x158
push dword [eax + 0xe4]
call edi
cmp eax, 0xffffffff
jne 0x4d13ae
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 4]
push ebx
push 0x143
push dword [eax + 0xe4]
jmp 0x4d13ac
lea eax, [ebp - 0x128]
push 0x5bf014
push eax
mov byte [ebp - 0x1f0], bl
call fcn.00527150
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.005254c0
lea eax, [ebp - 0x1f0]
push 0x5b858c
push eax
call fcn.005254c0
add esp, 0x18
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x128]
push 0x622c94
push eax
call fcn.004d16ed
test eax, eax
je 0x4d13ae
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.005254c0
pop ecx
lea eax, [ebp - 0x1f0]
pop ecx
mov ecx, dword [ebp + 8]
push eax
cmp ecx, ebx
je 0x4d139d
push dword [ecx + 8]
call fcn.0053d7a5
jmp 0x4d13ae
mov eax, dword [ebp - 4]
push ebx
push 0x180
push dword [eax + 0xa8]
call edi
lea eax, [ebp - 0x28]
inc dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4d121e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4d13f2