Function at 0x4204d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcc9d
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 0x42076f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x420516
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.00416670
mov dword [ebp - 4], 0
call fcn.0040b390
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x4c]
push 0x14
push 0x530a14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00403120
mov byte [ebp - 4], 1
call fcn.00421e00
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.0040bdf0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x4205b4
mov esi, dword [eax + 0x20]
call ebx
test esi, esi
je 0x4205b6
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x4205b6
call ebx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4205ee
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4205e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42077e
push edx
push ecx
call fcn.004b4fdc
add esp, 8
call fcn.0040b390
push 0xe
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push 0x530984
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00403120
mov byte [ebp - 4], 2
call fcn.00421e00
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.0040bdf0
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 4]
je 0x420664
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 0x42066a
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ebx, eax
jmp 0x42066f
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 0x4206a7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42069d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42077e
push edx
push ecx
call fcn.004b4fdc
add esp, 8
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x22
jb 0x420774
cmp dword [edi + 0x14], 8
jb 0x4206c2
mov edi, dword [edi]
push ecx
push edi
push 0x22
push str.SYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.00416670
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 0x420724
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42071a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420779
push edx
push ecx
call fcn.004b4fdc
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x42075a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420750
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42077e
push edx
push ecx
call fcn.004b4fdc
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.00401d40
call fcn.00401d40
call fcn.004e34cc
call fcn.004e34cc
int3