Function at 0x465940
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e71a
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ba494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4bf380
call fcn.004675f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x17d0
call fcn.0041bea0
test eax, eax
jne 0x4659a1
mov ecx, 0x4bf380
call fcn.00467090
test eax, eax
jne 0x465b04
call fcn.0045f6b0
movzx ecx, al
test ecx, ecx
je 0x465a75
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00405c20
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405c70
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48d248
call fcn.00403210
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00401f30
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x48decc
lea edx, [ebp - 0x14]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str._task.dat
lea edx, [ebp - 0x14]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [0x4bf458]
mov edx, dword [eax]
mov byte [ebp - 4], 1
mov ecx, dword [0x4bf458]
mov eax, dword [edx + 0x68]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00413390
jmp 0x465b04
push 0x48d238
lea ecx, [ebp - 0x20]
call fcn.00403210
mov byte [ebp - 4], 5
push 0x48dee4
lea ecx, [ebp - 0x20]
call fcn.00405670
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push 0
push 0x48ddcc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x465af8
lea ecx, [ebp - 0x10]
call fcn.00412ea0
add eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401fe0
push eax
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.0040aa10
push eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00413390
mov ecx, 0x4bf380
call fcn.00467090
test eax, eax
je 0x465c2a
mov ecx, dword [ebp - 0x4c]
add ecx, 0x17d0
call fcn.0041bea0
test eax, eax
jne 0x465c2a
call fcn.0045f6b0
movzx ecx, al
test ecx, ecx
je 0x465bbd
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00405c20
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
add edx, 1
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405c70
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x48dee8
lea edx, [ebp - 0x24]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x48d248
call fcn.00403210
mov dword [ebp - 0x74], eax
mov ecx, dword [0x4bf458]
mov edx, dword [ecx]
mov byte [ebp - 4], 6
mov ecx, dword [0x4bf458]
mov eax, dword [edx + 0x6c]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00413390
jmp 0x465c2a
mov dword [ebp - 0x2c], 0
push 0x48d238
lea ecx, [ebp - 0x30]
call fcn.00403210
mov byte [ebp - 4], 8
push 0x48def4
lea ecx, [ebp - 0x30]
call fcn.00405670
lea ecx, [ebp - 0x2c]
push ecx
push 0xf003f
push 0
push 0x48ddcc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x465c1e
lea ecx, [ebp - 0x30]
call fcn.0040aa10
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00413390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret