Function at 0x42c370
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x100c
call fcn.00420990
mov eax, dword [esp + 0x1028]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea ecx, [esp + 0xc18]
push eax
push ecx
call esi
lea edx, [esp + 0xc18]
push edx
call fcn.00430f20
mov eax, dword [esp + 0x1028]
add esp, 4
lea ecx, [esp + 0x418]
push eax
push ecx
call esi
mov edi, dword [esp + 0x1028]
xor esi, esi
cmp edi, esi
je 0x42c3e4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x418]
push 0x43b6a4
push edx
call ebx
lea eax, [esp + 0x418]
push edi
push eax
call ebx
mov ebx, dword [esp + 0x1020]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
lea edx, [esp + 0x420]
push esi
push edx
push ebx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42c5de
cmp edi, esi
push ebp
mov dword [esp + 0x18], esi
je 0x42c4c6
cmp dword [esp + 0x1034], esi
jne 0x42c5d2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
lea eax, [esp + 0x1c]
push esi
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
jne 0x42c5d2
mov ebp, dword [esp + 0x103c]
mov ebx, dword [esp + 0x1020]
push ebx
lea ecx, [esp + 0x20]
push 1
lea edx, [esp + 0x424]
push ecx
push edx
mov edx, dword [esp + 0x1034]
lea eax, [esp + 0x2c]
push ebp
lea ecx, [esp + 0xc30]
push eax
push ecx
push edx
call fcn.0042c5f0
add esp, 0x20
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push 0
inc esi
push ecx
push edx
push esi
push eax
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
je 0x42c469
jmp 0x42c5d2
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x400
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42c5d2
mov ebp, dword [esp + 0x103c]
mov edi, dword [esp + 0x1030]
mov esi, dword [esp + 0x1020]
mov al, byte [esp + 0x1c]
test al, al
je 0x42c5ab
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x41c]
push eax
push ecx
lea edx, [esp + 0x824]
push 0x439364
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test edi, edi
je 0x42c54e
lea eax, [esp + 0x81c]
push 0x43b6a4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x81c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x1034]
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x824]
push eax
push ecx
push ebx
mov dword [esp + 0x24], 0
call fcn.0040c980
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x42c5ab
push esi
lea edx, [esp + 0x20]
push 0
lea ecx, [esp + 0x424]
push edx
push ecx
push ebp
lea edx, [esp + 0xc30]
push eax
push edx
push ebx
call fcn.0042c5f0
mov eax, dword [esp + 0x30]
push eax
call fcn.004203d7
add esp, 0x24
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
inc eax
push 0x400
push ecx
push eax
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x42c4f9
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
call fcn.0042bd00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x100c
ret