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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b73f
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5917ec]
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.004150f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0d00
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.004629e0
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 0x46410e
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 0x464123
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x464438
cmp esi, 0x80
jle 0x464162
push 2
push esi
call fcn.004dc34c
mov ecx, eax
add esp, 8
mov dword [ebp - 0x524], ecx
test ecx, ecx
je 0x464442
jmp 0x46416e
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.00464580
push eax
call fcn.0040e1e0
add esp, 0x14
mov edx, dword [ebp - 0x524]
mov byte [ebp - 4], 1
test edx, edx
jne 0x46419b
xor ecx, ecx
jmp 0x4641af
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4641a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc]
call fcn.0040dbe0
mov eax, dword [ebp - 0x524]
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x4641d6
push eax
call fcn.004dc357
add esp, 4
push 0x11
lea ecx, [ebx + 0x10]
push str._installtinybird
call fcn.0040dbe0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c0d00
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 0x54d008
call fcn.00462c20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or edi, 0xffffffff
test eax, eax
jne 0x46431f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464254
sub ecx, edx
sar ecx, 1
je 0x46431f
lea eax, [ebp - 0x420]
push eax
push str.CPluginTask::StartTask_pdf_pid_s
call fcn.0044c910
add esp, 8
lea ecx, [ebp - 0x52c]
push str.pdf_has_exit
call fcn.0040b980
push 0x556744
lea ecx, [ebp - 0x530]
mov byte [ebp - 4], 2
call fcn.0040b980
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.00420f40
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0041a600
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 0x4642fa
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 0x4643fb
mov ecx, dword [edx]
push edx
jmp 0x4643f6
push str.CPluginTask::GetConfig
call fcn.0044c910
add esp, 4
call fcn.0040cad0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4643fb
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x4643fb
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 0x4643fb
push dword [ebp - 0x53c]
lea ecx, [ebx + 4]
push esi
call fcn.0040b840
mov ecx, dword [ebx + 4]
push ebx
mov eax, dword [ecx]
call dword [eax]
call fcn.0040cb90
mov ecx, eax
test ecx, ecx
je 0x46444c
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.00462d00
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.0040c570
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 0x4643fb
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 0x46441a
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.0049b8b8
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040c3e0
push 0x8007000e
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
int3