Function at 0x4783e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, ecx
mov eax, dword [ebx + 0x10]
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ebp
je 0x478424
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x478424
cmp esi, eax
jge 0x478411
test esi, esi
jl 0x478411
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*4]
jmp 0x478413
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx + 8]
add esp, 4
inc esi
cmp esi, eax
jl 0x478405
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 0x24]
mov dword [ebx + 4], eax
push edx
lea eax, [esp + 0x24]
push 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0x1f
mov dword [ebx + 0x14], 0x40
mov dword [ebx + 0x10], 1
mov ecx, dword [ebp]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push 0
push edi
push ecx
call ebp
cmp eax, 0xea
je 0x4784ab
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x47849c
lea eax, [esp + 0x24]
lea edx, [esp + 0x20]
push eax
push 0
push edx
push 0
push edi
push ecx
call ebp
cmp eax, 0xea
je 0x4784ab
test eax, eax
jne 0x4785de
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push esi
push edx
push 0
push edi
push ecx
mov dword [esp + 0x30], esi
call ebp
cmp eax, 0xea
je 0x4784ff
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4784f8
lea eax, [esp + 0x24]
lea edx, [esp + 0x20]
push eax
push esi
push edx
push 0
push edi
push ecx
call ebp
cmp eax, 0xea
jne 0x478503
test esi, esi
je 0x47850b
test eax, eax
jne 0x4785de
mov al, byte [esi]
mov dword [esp + 0x20], esi
test al, al
je 0x4785d3
jmp 0x47851f
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
inc ebp
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov edi, eax
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x14], eax
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4785bc
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
lea edx, [ecx + 1]
cmp esi, edx
jne 0x4785ac
add ecx, dword [ebx + 0x14]
lea eax, [ecx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
add esp, 8
add eax, edx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x20], eax
cmp byte [eax], 0
jne 0x47851b
mov esi, dword [esp + 0x18]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8