Function at 0x461d60
Capabilities:
Check if file exists
Delete file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d27f
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x54]
call fcn.00411e50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0x525]
call fcn.004606d0
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461dfe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x520]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x524], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461e13
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x462128
cmp esi, 0x80
jle 0x461e52
push 2
push esi
call fcn.004cdd6c
mov ecx, eax
add esp, 8
mov dword [ebp - 0x524], ecx
test ecx, ecx
je 0x462132
jmp 0x461e5e
lea ecx, [ebp - 0x520]
mov dword [ebp - 0x524], ecx
lea eax, [esi + esi]
push eax
lea edx, [ebp - 0x218]
push edx
push eax
push ecx
call fcn.00462270
push eax
call fcn.0040af40
add esp, 0x14
mov edx, dword [ebp - 0x524]
mov byte [ebp - 4], 1
test edx, edx
jne 0x461e8b
xor ecx, ecx
jmp 0x461e9f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461e90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc]
call fcn.0040a830
mov eax, dword [ebp - 0x524]
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x461ec6
push eax
call fcn.004cdd77
add esp, 4
push 0x11
lea ecx, [ebx + 0x10]
push str._installtinybird
call fcn.0040a830
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b2720
add esp, 0xc
mov dword [ebp - 0x538], 1
lea eax, [ebp - 0x534]
mov dword [ebp - 0x534], 0x104
lea ecx, [ebp - 0x525]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x538]
push eax
push 0x53e958
call fcn.00460910
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or edi, 0xffffffff
test eax, eax
jne 0x46200f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461f44
sub ecx, edx
sar ecx, 1
je 0x46200f
lea eax, [ebp - 0x420]
push eax
push str.CPluginTask::StartTask_pdf_pid_s
call fcn.0044a720
add esp, 8
lea ecx, [ebp - 0x52c]
push str.pdf_has_exit
call fcn.00408540
push 0x5480e4
lea ecx, [ebp - 0x530]
mov byte [ebp - 4], 2
call fcn.00408540
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x53c], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x52c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00417360
mov edx, dword [ebp - 0x530]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461fea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x52c]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4620eb
mov ecx, dword [edx]
push edx
jmp 0x4620e6
push str.CPluginTask::GetConfig
call fcn.0044a720
add esp, 4
call fcn.004096f0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4620eb
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x4620eb
mov edx, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
test esi, esi
je 0x4620eb
push dword [ebp - 0x53c]
lea ecx, [ebx + 4]
push esi
call fcn.00408400
mov ecx, dword [ebx + 4]
push ebx
mov eax, dword [ecx]
call dword [eax]
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x46213c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x52c], eax
push dword [ebx + 0x14]
lea ecx, [ebp - 0x525]
mov byte [ebp - 4], 5
call fcn.004609f0
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.00409150
mov ecx, dword [ebx + 4]
add esp, 0xc
mov esi, dword [ebp - 0x52c]
mov eax, dword [ecx]
push esi
push 0
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov dword [ebx + 0x18], eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4620eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46210a
mov ecx, dword [edx]
push edx
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00408fc0
push 0x8007000e
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
int3