Function at 0x465620
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e6b7
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ba494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
call fcn.0045f6b0
movzx eax, al
test eax, eax
je 0x4656eb
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x4bf380
call fcn.004675f0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00405c20
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405c70
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str._task.xml
lea edx, [ebp - 0x38]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [0x4bf458]
mov edx, dword [eax]
mov ecx, dword [0x4bf458]
mov eax, dword [edx + 0x70]
call eax
mov byte [ebp - 0x75], al
movzx ecx, byte [ebp - 0x75]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00413390
mov eax, dword [ebp - 0x58]
jmp 0x465925
push 0x48d238
lea ecx, [ebp - 0x30]
call fcn.00403210
mov dword [ebp - 4], 2
push 0x48df04
lea ecx, [ebp - 0x30]
call fcn.00405670
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
push 0x48ddcc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x465750
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413390
mov eax, dword [ebp - 0x60]
jmp 0x465925
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0041bf00
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041bfa0
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4658f6
cmp dword [ebp - 0x1c], 0
ja 0x4657cd
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
jmp 0x46577d
mov byte [ebp - 0x61], 0
lea eax, [ebp - 0x61]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041bf40
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], 0x104
lea edx, [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x50]
call fcn.0041bfa0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041bfa0
push eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x465836
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0041bf80
jmp 0x4658f6
lea ecx, [ebp - 0x54]
call fcn.00401710
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x54]
call fcn.00403290
lea ecx, [ebp - 0x54]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x4658c2
lea ecx, [ebp - 0x30]
call fcn.0040aa10
push eax
lea ecx, [ebp - 0x54]
call fcn.004032b0
test eax, eax
jne 0x4658c2
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00413390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0041bf80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0041bf80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413390
mov eax, dword [ebp - 0x68]
jmp 0x465925
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00413390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0041bf80
jmp 0x46577d
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0041bf80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413390
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret