Function at 0x418cf0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4863e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
xor eax, eax
lea ecx, [ebp - 0x4c]
push edi
push dword [ebp + 8]
mov edx, str._registrymachineSYSTEMCurrentControlSetServices_
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call fcn.0040ae78
add esp, 4
mov dword [ebp - 4], 0
lea ebx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x34]
push 0x14
cmovae ebx, dword [ebp - 0x4c]
push 0x49906c
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.00402e2f
mov byte [ebp - 4], 1
call fcn.00416480
mov esi, eax
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004174d0
mov eax, dword [ebp - 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x418da6
mov esi, dword [eax + 0x20]
call edi
test esi, esi
je 0x418da8
push ebx
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x418da8
call edi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x418e04
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x34]
cmp ecx, 0xffffffff
jbe 0x418dc4
call fcn.00469659
cmp ecx, 0x1000
jb 0x418dfb
test byte [ebp - 0x34], 0x1f
je 0x418dd7
call fcn.00469659
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x418de3
call fcn.00469659
sub eax, ecx
cmp eax, 4
jae 0x418def
call fcn.00469659
cmp eax, 0x23
jbe 0x418df9
call fcn.00469659
mov eax, ecx
push eax
call fcn.0044d89d
add esp, 4
push 0xe
push 0x498fa4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.00402e2f
mov byte [ebp - 4], 2
call fcn.00416480
mov esi, eax
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 - 0x14]
push eax
call fcn.004174d0
mov eax, dword [ebp - 0x14]
push ebx
cmp eax, dword [esi + 4]
je 0x418e65
mov esi, dword [eax + 0x20]
call edi
test esi, esi
je 0x418e67
lea eax, [ebp - 0x1c]
push eax
call esi
mov esi, eax
jmp 0x418e6c
call edi
mov esi, 0xc0000138
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x418ec8
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x34]
cmp ecx, 0xffffffff
jbe 0x418e88
call fcn.00469659
cmp ecx, 0x1000
jb 0x418ebf
test byte [ebp - 0x34], 0x1f
je 0x418e9b
call fcn.00469659
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x418ea7
call fcn.00469659
sub eax, ecx
cmp eax, 4
jae 0x418eb3
call fcn.00469659
cmp eax, 0x23
jbe 0x418ebd
call fcn.00469659
mov eax, ecx
push eax
call fcn.0044d89d
add esp, 4
push dword [ebp + 8]
mov edx, 0x499118
lea ecx, [ebp - 0x34]
call fcn.0040ae78
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x418ee3
mov eax, dword [eax]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x418f47
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, 0x7fffffff
jbe 0x418f07
call fcn.00469659
add eax, eax
cmp eax, 0x1000
jb 0x418f3e
test cl, 0x1f
je 0x418f1a
call fcn.00469659
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x418f26
call fcn.00469659
sub ecx, eax
cmp ecx, 4
jae 0x418f32
call fcn.00469659
cmp ecx, 0x23
jbe 0x418f3c
call fcn.00469659
mov ecx, eax
push ecx
call fcn.0044d89d
add esp, 4
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x418f9f
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x7fffffff
jbe 0x418f5f
call fcn.00469659
add eax, eax
cmp eax, 0x1000
jb 0x418f96
test cl, 0x1f
je 0x418f72
call fcn.00469659
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x418f7e
call fcn.00469659
sub ecx, eax
cmp ecx, 4
jae 0x418f8a
call fcn.00469659
cmp ecx, 0x23
jbe 0x418f94
call fcn.00469659
mov ecx, eax
push ecx
call fcn.0044d89d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4