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

Disassembly:
mov eax, 0x100c
call fcn.0041a850
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.00425956
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 0x425414
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x418]
push 0x42b398
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 0x42560e
cmp edi, esi
push ebp
mov dword [esp + 0x18], esi
je 0x4254f6
cmp dword [esp + 0x1034], esi
jne 0x425602
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 0x425602
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.00425620
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 0x425499
jmp 0x425602
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 0x425602
mov ebp, dword [esp + 0x103c]
mov edi, dword [esp + 0x1030]
mov esi, dword [esp + 0x1020]
mov al, byte [esp + 0x1c]
test al, al
je 0x4255db
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x41c]
push eax
push ecx
lea edx, [esp + 0x824]
push 0x429308
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test edi, edi
je 0x42557e
lea eax, [esp + 0x81c]
push 0x42b398
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.0040a980
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x4255db
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.00425620
mov eax, dword [esp + 0x30]
push eax
call fcn.0041a842
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 0x425529
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
call fcn.00424bd0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x100c
ret