Function at 0x41fc62
Capabilities:
Create thread
Delete registry key

Disassembly:
push 0x49c
mov eax, 0x441e1c
call fcn.00427c0a
push 2
pop eax
push 0x454b48
mov dword [ebp - 0x424], eax
mov dword [0x455b64], 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 [0x455a5c], eax
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.00428f40
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push edi
call ebx
push 0x446870
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 0x41fd01
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], 0x4481ec
mov dword [eax + 4], fcn.0040ef6f
mov dword [eax + 0x10], eax
lea eax, [ebp - 0x460]
push eax
mov edx, 0x4480ec
mov ecx, str.Softwareprojonepodlpdebugplugin_
mov dword [ebp - 4], edi
call fcn.0040cdfc
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x41fd2d
mov eax, dword [eax + 4]
jmp 0x41fd30
add eax, 4
push 0x4480e8
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.0040cb3c
add esp, 0xc
lea ecx, [ebp - 0x488]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404399
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00421267
add esp, 0x1c
mov dword [ebp - 0x428], eax
mov esi, 0x456004
mov byte [ebp - 4], 7
cmp eax, esi
je 0x41fdb0
mov eax, dword [0x45601c]
mov ecx, dword [0x456004]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea eax, [ebp - 0x468]
push eax
mov eax, esi
call fcn.004036de
mov eax, dword [ebp - 0x428]
mov ecx, esi
call fcn.00404461
lea eax, [ebp - 0x4a8]
push eax
mov byte [ebp - 4], 6
call fcn.00402ef4
lea eax, [ebp - 0x488]
push eax
mov byte [ebp - 4], 5
call fcn.00402ef4
lea esi, [ebp - 0x440]
call fcn.00403203
push dword [ebp - 0x440]
call fcn.0042699b
or dword [ebp - 4], 0xffffffff
pop ecx
push edi
push 1
lea esi, [ebp - 0x460]
call fcn.0040186b
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00428f40
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.00401600
mov eax, esi
push eax
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 4], 8
call fcn.00405b2d
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x41fe62
mov eax, dword [eax + 4]
jmp 0x41fe65
add eax, 4
push eax
mov ebx, 0x455a60
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 1
lea ecx, [ebp - 0x460]
call fcn.00401773
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea esi, [ebp - 0x444]
call fcn.0040186b
lea ecx, [ebp - 0x218]
call fcn.0041ed58
push ebx
push str.Softwareprojonepodlpdebugplugin_
push str._s_hs
mov esi, 0x455b68
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push edi
lea eax, [ebp - 0x424]
push eax
push 0x41f11f
push edi
lea eax, [ebp - 0x420]
push eax
call fcn.0040b246
push edi
push edi
push dword [ebp - 0x424]
push 0x41f73b
push 0x20000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x424], 1
mov edi, str.service
mov esi, str.agent
mov ecx, edi
je 0x41ff15
mov ecx, esi
push str.PLUG_LOADED
call fcn.0041f259
push dword [0x455a5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x424], 1
mov ecx, edi
je 0x41ff38
mov ecx, esi
push str.PLUG_INITED
call fcn.0041f259
call fcn.00427c8d
ret