Function at 0x42c070
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x61c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x618], eax
cmp byte [0x60e468], 0
mov eax, dword [esp + 0x628]
mov ecx, dword [esp + 0x634]
mov edx, dword [esp + 0x638]
push ebx
mov ebx, dword [esp + 0x634]
push ebp
mov ebp, dword [esp + 0x62c]
push esi
mov esi, dword [esp + 0x62c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
je 0x42c0e4
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.0053fab2
add esp, 0x61c
ret
mov ecx, dword [esp + 0x638]
push 0x100
lea eax, [esp + 0x28]
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42c0ca
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x224]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42c120
push edi
lea edi, [esp + 0x228]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x42c137
mov cx, word [0x5961cc]
lea eax, [esp + 0x28]
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c151
lea edi, [esp + 0x228]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42c166
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x128]
push edx
push eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.004049e0
mov esi, dword [esp + 0x658]
add esp, 0xc
cmp eax, 0xffff
je 0x42c241
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x12c]
push edx
call fcn.00549c45
add esp, 8
test eax, eax
jne 0x42c241
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x128]
push eax
push ecx
push edi
call fcn.004049e0
add esp, 0xc
cmp eax, 0xffff
je 0x42c241
mov eax, dword [0x60e464]
add eax, 1
cmp eax, esi
mov dword [0x60e464], eax
jne 0x42c241
lea eax, [esp + 0x28]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42c201
lea eax, [esp + 0x128]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42c220
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [0x60e468], 1
mov dword [eax], edx
mov al, 1
jmp 0x42c2aa
lea ecx, [esp + 0x20]
push ecx
push 8
push 0
lea edx, [esp + 0x234]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push esi
push edi
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x234]
push ecx
push 0
push edx
push ebp
push eax
call fcn.0042c070
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x65c]
mov eax, dword [esp + 0x34]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x50]
push ebx
add edx, 1
push edx
push eax
push ebp
push ecx
call fcn.0042c070
add esp, 0x40
xor al, al
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053fab2
add esp, 0x61c
ret