Function at 0x4060b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
sub esp, 0x38
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
cld
lea edi, [ebp - 0x18]
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004064a6
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
sub esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.Ertldo31.dll__STR_to_external
add esp, 0x18
mov dword [esp + 4], eax
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404ff1
add esp, 0x18
mov dword [esp + 8], eax
mov eax, ebp
add eax, 0xfffffff4
mov dword [esp + 0xc], eax
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404ff1
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [esp + 0x14], eax
call sub.advapi32.dll_RegQueryValueExA
add esp, 0xffffffe8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x406279
mov eax, dword [ebp + 0xc]
push 0x418cab
call sub.Ertldo31.dll___rtn_feature_place_4
cmp dword [ebp - 0xc], eax
jne 0x406279
push 0x41f9fb
call sub.mm31.dll__obj_alloc_4
mov ebx, eax
mov ecx, dword [ebp - 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.Ertldo31.dll__STR_make
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
sub esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.Ertldo31.dll__STR_to_external
add esp, 0x18
mov dword [esp + 4], eax
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404ff1
add esp, 0x18
mov dword [esp + 8], eax
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404ff1
add esp, 0x18
mov dword [esp + 0xc], eax
sub esp, 0x18
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.Ertldo31.dll__STR_to_external
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [esp + 0x14], eax
call sub.advapi32.dll_RegQueryValueExA
add esp, 0xffffffe8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40623a
call sub.mm31.dll__disableGC
sub esp, 0x18
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sub.Ertldo31.dll__STR_to_external
add esp, 0x18
mov dword [esp + 4], eax
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push 0x418cd3
call sub.Ertldo31.dll___rtn_feature_place_4
call sub.mm31.dll__EnableGC
jmp 0x406277
mov eax, 0x42ca64
mov ebx, dword [eax + 1]
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
sub esp, 0x18
mov eax, str.get_value_to
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sub.Ertldo31.dll_ntv_STRING_create_manifest
add esp, 0x18
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040fdf1
jmp 0x4062b6
mov eax, 0x42ca64
mov ebx, dword [eax + 1]
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
sub esp, 0x18
mov eax, str.get_value_to
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sub.Ertldo31.dll_ntv_STRING_create_manifest
add esp, 0x18
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040fdf1
mov al, byte [ebp - 0x18]
mov byte [esp + 4], al
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004064e0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret