Function at 0x421560
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492d9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x7ffffffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x34
jb 0x4217f1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4215a6
mov eax, dword [edi]
push ecx
push eax
push 0x34
push str._registrymachineSYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.00417460
mov dword [ebp - 4], 0
call fcn.00402220
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x20], 0xf
cmovae eax, dword [ebp - 0x4c]
push 0x14
push 0x4ad1fc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x34], 0
call fcn.00403060
mov byte [ebp - 4], 1
call fcn.0040cdc0
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00403640
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x42163d
mov esi, dword [eax + 0x20]
call ebx
test esi, esi
je 0x42163f
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x42163f
call ebx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x421677
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42166d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421800
push edx
push ecx
call fcn.0046d4cf
add esp, 8
call fcn.00402220
push 0xe
push 0x4ad0bc
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov esi, eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00403060
mov byte [ebp - 4], 2
call fcn.0040cdc0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00403640
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 4]
je 0x4216e6
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
lea eax, [esi + 0x20]
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4216ec
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ebx, eax
jmp 0x4216f1
lea eax, [esi + 0x20]
push eax
call ebx
mov ebx, 0xc0000138
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x421729
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42171f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421800
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x22
jb 0x4217f6
cmp dword [edi + 0x14], 8
jb 0x421744
mov edi, dword [edi]
push ecx
push edi
push 0x22
push 0x4ad218
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.00417460
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4217a6
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42179c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4217fb
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4217dc
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4217d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421800
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004021f0
call fcn.004021f0
call fcn.00472aca
call fcn.00472aca
int3