Function at 0x42c23c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x476ad0
call fcn.0045357c
sub esp, 0x510
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x3c], esi
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x34], eax
call fcn.00401407
mov byte [ebp - 4], 2
cmp dword [ebp + 0x24], 0x10
mov eax, dword [ebp + 0x10]
jae 0x42c284
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
push 0x47b42c
push eax
call fcn.0040921b
add esp, 0xc
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c4fd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x51c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42c4fd
mov eax, dword [ebp - 0x1c]
add dword [ebp + 0x44], eax
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jbe 0x42c4fd
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x38], 0xff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42c4ee
lea ecx, [ebp - 0x14]
call fcn.00401407
mov byte [ebp - 4], 3
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004147dd
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], 0xf
call fcn.004013d5
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x11c]
call fcn.0040b79e
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x60]
call fcn.00401a59
mov byte [ebp - 4], 4
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x42c380
push dword [ebp - 0x11c]
call fcn.00455027
pop ecx
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b87f
mov byte [ebp - 4], 6
push 0x47f930
push eax
call fcn.00414b01
pop ecx
pop ecx
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00401436
cmp byte [ebp - 0xd], bl
je 0x42c427
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b87f
mov byte [ebp - 4], 7
mov eax, dword [eax]
push ebx
add esi, 4
push eax
mov ecx, esi
call fcn.0040b540
cmp eax, 0xffffffff
sete byte [ebp - 0xd]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00401436
cmp byte [ebp - 0xd], bl
je 0x42c427
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b87f
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.004092ed
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401436
push 0x47f92c
mov ecx, esi
call fcn.004147dd
lea eax, [ebp + 0xc]
push 0x47a98b
push eax
call fcn.0041f6d1
pop ecx
pop ecx
test al, al
je 0x42c494
push 0x47d2a8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004290b3
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
push ecx
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040ba26
add esp, 0x18
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401921
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp - 0x98]
call fcn.004014ab
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x7c]
call fcn.004014ab
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.nothing
call fcn.00401a8d
mov byte [ebp - 4], 0xb
sub esp, 0x1c
lea eax, [ebp - 0x60]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00404312
mov byte [ebp - 4], 0xc
push dword [ebp - 0x34]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.0042c6e2
add dword [ebp + 0x44], eax
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.004014ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401436
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x42c2ed
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401436
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.004014ab
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp + 0x28]
call fcn.004014ab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x40