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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5867ec]
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.004134a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
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.004609e0
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 0x46210e
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 0x462123
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x462438
cmp esi, 0x80
jle 0x462162
push 2
push esi
call fcn.004d3bdc
mov ecx, eax
add esp, 8
mov dword [ebp - 0x524], ecx
test ecx, ecx
je 0x462442
jmp 0x46216e
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.00462580
push eax
call fcn.0040c590
add esp, 0x14
mov edx, dword [ebp - 0x524]
mov byte [ebp - 4], 1
test edx, edx
jne 0x46219b
xor ecx, ecx
jmp 0x4621af
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4621a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc]
call fcn.0040bf90
mov eax, dword [ebp - 0x524]
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x4621d6
push eax
call fcn.004d3be7
add esp, 4
push 0x11
lea ecx, [ebx + 0x10]
push str._installtinybird
call fcn.0040bf90
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b8590
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 0x543008
call fcn.00460c20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or edi, 0xffffffff
test eax, eax
jne 0x46231f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462254
sub ecx, edx
sar ecx, 1
je 0x46231f
lea eax, [ebp - 0x420]
push eax
push str.CPluginTask::StartTask_pdf_pid_s
call fcn.0044a960
add esp, 8
lea ecx, [ebp - 0x52c]
push str.pdf_has_exit
call fcn.00409d20
push 0x54c6e4
lea ecx, [ebp - 0x530]
mov byte [ebp - 4], 2
call fcn.00409d20
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.0041f300
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004189c0
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 0x4622fa
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 0x4623fb
mov ecx, dword [edx]
push edx
jmp 0x4623f6
push str.CPluginTask::GetConfig
call fcn.0044a960
add esp, 4
call fcn.0040ae70
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4623fb
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x4623fb
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 0x4623fb
push dword [ebp - 0x53c]
lea ecx, [ebx + 4]
push esi
call fcn.00409be0
mov ecx, dword [ebx + 4]
push ebx
mov eax, dword [ecx]
call dword [eax]
call fcn.0040af30
mov ecx, eax
test ecx, ecx
je 0x46244c
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.00460d00
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.0040a910
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 0x4623fb
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 0x46241a
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.004994d8
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040a780
push 0x8007000e
call fcn.0040a780
push 0x80004005
call fcn.0040a780
int3