Function at 0x41e693
Capabilities:
Delete registry key

Disassembly:
push 0x49c
mov eax, 0x44032b
call fcn.0042619a
push 2
pop eax
push 0x451b20
mov dword [ebp - 0x424], eax
mov dword [0x452b14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4527e4], eax
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.004278a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push edi
call ebx
push 0x4444e0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x18
mov dword [ebp - 0x428], esp
mov eax, esp
je 0x41e732
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [eax], 0x445b48
mov dword [eax + 4], fcn.0041fb1a
mov dword [eax + 0x10], eax
lea eax, [ebp - 0x460]
push eax
mov edx, 0x445a94
mov ecx, str.Softwareprojonepodlpdebugplugin_
mov dword [ebp - 4], edi
call fcn.0040bd2c
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x41e75e
mov eax, dword [eax + 4]
jmp 0x41e761
add eax, 4
push 0x445a90
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.0040ba7e
add esp, 0xc
lea ecx, [ebp - 0x488]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041fb8c
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0041fc21
add esp, 0x1c
mov dword [ebp - 0x428], eax
mov esi, 0x452f9c
mov byte [ebp - 4], 7
cmp eax, esi
je 0x41e7e1
mov eax, dword [0x452fb4]
mov ecx, dword [0x452f9c]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea eax, [ebp - 0x468]
push eax
mov eax, esi
call fcn.00402d97
mov eax, dword [ebp - 0x428]
mov ecx, esi
call fcn.0040ca7e
lea eax, [ebp - 0x4a8]
push eax
mov byte [ebp - 4], 6
call fcn.0040225c
lea eax, [ebp - 0x488]
push eax
mov byte [ebp - 4], 5
call fcn.0040225c
lea esi, [ebp - 0x440]
call fcn.0040ca29
push dword [ebp - 0x440]
call fcn.00425197
or dword [ebp - 4], 0xffffffff
pop ecx
push edi
push 1
lea esi, [ebp - 0x460]
call fcn.00402701
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004278a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x444]
call fcn.004021fa
mov eax, esi
push eax
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 4], 8
call fcn.00404ac5
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x41e893
mov eax, dword [eax + 4]
jmp 0x41e896
add eax, 4
push eax
mov ebx, 0x452a10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 1
lea ecx, [ebp - 0x460]
call fcn.00402609
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea esi, [ebp - 0x444]
call fcn.00402701
lea ecx, [ebp - 0x218]
call fcn.0041dde7
push ebx
push str.Softwareprojonepodlpdebugplugin_
push str._s_hs
mov esi, 0x452b18
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push edi
lea eax, [ebp - 0x424]
push eax
push 0x41e1ab
push edi
lea eax, [ebp - 0x420]
push eax
call fcn.0040a220
cmp dword [ebp - 0x424], 1
mov edi, str.service
mov esi, str.agent
mov ecx, edi
je 0x41e926
mov ecx, esi
push str.PLUG_LOADED
call fcn.0041e2e5
push dword [0x4527e4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x424], 1
mov ecx, edi
je 0x41e949
mov ecx, esi
push str.PLUG_INITED
call fcn.0041e2e5
call fcn.0042621d
ret