Function at 0x4feab0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
call fcn.0045adc0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4feaf7
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4feb25
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
push 0x2001f
push dword [0x5d67d4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push reloc.WS2_32.dll_accept
call fcn.0045b220
mov edi, dword [ebp - 0x2c]
test eax, eax
jne 0x4fed02
mov eax, dword [ebp - 0x14]
mov edx, 1
mov dword [ebp - 0x1c], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x4feba8
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push str.Retake_PID
lea ecx, [ebp - 0x2c]
call fcn.0045d730
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
push dword [eax - 8]
push eax
call fcn.00526d13
mov edx, eax
add esp, 8
test edx, edx
js 0x4fed60
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x4fed60
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
cmp byte [ebp - 0xd], cl
je 0x4fed02
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push dword [0x5d6824]
push eax
call fcn.0045acb0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x11
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x5c], 0x3f400000
mov dword [ebp - 0x58], 0x3e800000
mov dword [ebp - 0x54], 0x40100000
mov dword [ebp - 0x50], 0x26
mov dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x68]
push eax
push esi
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 4
call fcn.0045d060
add esp, 0x18
test eax, eax
jne 0x4fecef
push 0x2001f
push esi
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x38]
call fcn.0045b220
mov ebx, dword [ebp - 0x38]
test eax, eax
jne 0x4fece3
lea ecx, [ebp - 0x68]
call fcn.0045d2c0
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4fece0
mov esi, dword [ebp - 0x20]
cmp dword [edi + 4], 1
jne 0x4fecca
lea eax, [edi + 8]
push eax
push edi
lea ecx, [esi + 0xbc]
call fcn.004ed030
push dword [edi]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0045cf60
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x4fecab
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
push str.Retake_PID
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x68]
call fcn.0045bff0
test ebx, ebx
je 0x4fed02
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4fed0d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4fed30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4fed4e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0045a8f0
int3