Function at 0x423360
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x181c
call fcn.00439b40
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1804], 0
push 0x7ff
push 0
lea eax, [ebp - 0x1803]
push eax
call fcn.0043a830
add esp, 0xc
mov dword [ebp - 0x180c], 0
mov ecx, dword [0x474ca8]
push ecx
push str.RegDeleteKeyExA
push 0x474ca4
push str.Advapi32.dll
call fcn.0040f680
add esp, 0x10
mov dword [0x474ca8], eax
cmp dword [ebp + 0x10], 0
je 0x4233d1
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
jne 0x4233d6
jmp 0x4235b1
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + eax - 0x1004]
mov dword [ebp - 0x1818], ecx
mov edx, 1
test edx, edx
je 0x4234f7
mov eax, dword [ebp - 0x1818]
mov byte [eax], 0
lea ecx, [ebp - 0x1814]
push ecx
mov edx, dword [ebp + 0xc]
or edx, 0xf003f
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x423441
jmp 0x4235b1
push 0x800
lea edx, [ebp - 0x804]
push edx
push 0
mov eax, dword [ebp - 0x1814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x1808], eax
mov ecx, dword [ebp - 0x1814]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1808], 0x103
jne 0x42347d
jmp 0x4234f7
lea edx, [ebp - 0x1804]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4234ab
lea ecx, [ebp - 0x804]
push ecx
push str.Delete_Registry_Key___s_._Same_subkey_again__Break_loop_r_n
call fcn.004145f0
add esp, 8
jmp 0x4234f7
lea edx, [ebp - 0x804]
push edx
push 0x46a614
mov eax, dword [ebp - 0x1818]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x1804]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00423360
add esp, 0xc
jmp 0x423401
mov dword [ebp - 0x180c], 0xa
mov eax, dword [ebp - 0x180c]
mov dword [ebp - 0x181c], eax
mov ecx, dword [ebp - 0x180c]
sub ecx, 1
mov dword [ebp - 0x180c], ecx
cmp dword [ebp - 0x181c], 0
je 0x4235b1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x474ca8], 0
je 0x423556
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x474ca8]
mov dword [ebp - 0x1808], eax
jmp 0x42356a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x1808], eax
cmp dword [ebp - 0x1808], 0
jne 0x42357f
mov dword [ebp - 0x1810], 0x46a618
jmp 0x423589
mov dword [ebp - 0x1810], 0x46a620
mov ecx, dword [ebp - 0x1810]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.Delete_Registry_Key___s___s_r_n
call fcn.004145f0
add esp, 0xc
cmp dword [ebp - 0x1808], 0
jne 0x4235ac
jmp 0x4235b1
jmp 0x423501
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret