Function at 0x432f10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a17f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4ca00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
call fcn.004336b0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x432f77
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 0x1c], 0
mov ebx, dword [ebp - 0x60]
mov esi, ebx
cmp ebx, dword [ebp - 0x5c]
je 0x4330d2
push 0xffffffffffffffff
lea eax, [edi + 4]
mov dword [ebp - 0x3c], 0xf
push 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.004204e0
push 1
push 0x4b9560
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00420d80
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x50]
call fcn.004208e0
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push 0xffffffffffffffff
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push 0
push eax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.004204e0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00432f10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x433025
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x43306b
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, 0x1000
jb 0x433062
test cl, 0x1f
jne 0x433181
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x433181
sub ecx, eax
cmp ecx, 4
jb 0x433181
cmp ecx, 0x23
ja 0x433181
mov ecx, eax
push ecx
call fcn.004388ea
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x4330c7
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x1000
jb 0x4330be
test cl, 0x1f
jne 0x433181
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x433181
sub ecx, eax
cmp ecx, 4
jb 0x433181
cmp ecx, 0x23
ja 0x433181
mov ecx, eax
push ecx
call fcn.004388ea
add esp, 4
add esi, 0x18
cmp esi, dword [ebp - 0x5c]
jmp 0x432f7f
cmp dword [edi + 0x24], 0
je 0x43312e
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x433127
push str.RegDeleteKeyExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433127
cmp dword [edi + 0x18], 0x10
lea ecx, [edi + 4]
jb 0x43310b
mov ecx, dword [ecx]
push 0
push dword [edi + 0x24]
push ecx
push dword [edi]
call eax
test eax, eax
push esi
sete byte [ebp - 0x51]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x51]
jmp 0x43314f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x433139
mov eax, dword [eax]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x43314a
xor al, al
jmp 0x43314c
mov al, 1
mov byte [ebp - 0x51], al
test ebx, ebx
je 0x4331cd
push dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
push ecx
mov ecx, ebx
call fcn.00434750
mov ecx, dword [ebp - 0x58]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x433186
call fcn.00442e41
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x4331c1
test bl, 0x1f
je 0x43319d
call fcn.00442e41
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4331a9
call fcn.00442e41
sub ebx, eax
cmp ebx, 4
jae 0x4331b5
call fcn.00442e41
cmp ebx, 0x23
jbe 0x4331bf
call fcn.00442e41
mov ebx, eax
push ebx
call fcn.004388ea
mov al, byte [ebp - 0x51]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004388ef
mov esp, ebp
pop ebp
ret