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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524f20
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x57c8b4]
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
mov dword [ebp - 0x530], ebx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x54]
call fcn.004119e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a99f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push dword [ebp + 8]
push eax
call esi
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x525]
call fcn.0045bc20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call esi
mov edx, dword [ebp - 0x52c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d2ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d2cc
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 0x45d2e1
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x45d6d4
cmp esi, 0x80
jle 0x45d320
push 2
push esi
call fcn.004c510b
mov ecx, eax
add esp, 8
mov dword [ebp - 0x524], ecx
test ecx, ecx
je 0x45d6de
jmp 0x45d32c
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.0045d830
push eax
call fcn.0040ab80
add esp, 0x14
mov edx, dword [ebp - 0x524]
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 1
test edx, edx
jne 0x45d35c
xor ecx, ecx
jmp 0x45d373
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d361
sub ecx, esi
lea eax, [ebx + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.0040a4c0
mov eax, dword [ebp - 0x524]
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x45d399
push eax
call fcn.004c5116
add esp, 4
push 0x11
lea ecx, [ebx + 0x10]
push str._installtinybird
call fcn.0040a4c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a99f0
add esp, 0xc
mov dword [ebp - 0x53c], 1
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x538], 0x104
lea ecx, [ebp - 0x525]
push eax
call fcn.0045bef0
lea ecx, [ebp - 0x538]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x53c]
push ecx
push 0x535958
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45d435
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d420
sub ecx, edx
sar ecx, 1
je 0x45d435
mov bl, 1
jmp 0x45d437
xor bl, bl
mov edx, dword [ebp - 0x52c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45d580
lea eax, [ebp - 0x420]
push eax
push str.CPluginTask::StartTask_pdf_pid_s
call fcn.00446bb0
add esp, 8
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d6e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x530], eax
push str.pdf_has_exit
lea ecx, [ebp - 0x530]
mov byte [ebp - 4], 2
call fcn.0040ac20
test al, al
jne 0x45d4b7
push 0xc
push str.pdf_has_exit
lea ecx, [ebp - 0x530]
call fcn.0040a4c0
mov byte [ebp - 4], 3
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d6f2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x52c], eax
push 0x53f054
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 4
call fcn.0040ac20
test al, al
jne 0x45d502
push 3
push 0x53f054
lea ecx, [ebp - 0x52c]
call fcn.0040a4c0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x534], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x530]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.0041c940
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00416be0
mov edx, dword [ebp - 0x52c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d55b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x530]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d697
mov ecx, dword [edx]
push edx
jmp 0x45d692
push str.CPluginTask::GetConfig
call fcn.00446bb0
add esp, 4
call fcn.004092a0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45d697
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x45d697
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 0x45d697
mov ebx, dword [ebp - 0x530]
push dword [ebp - 0x534]
push esi
lea ecx, [ebx + 4]
call fcn.00408070
mov ecx, dword [ebx + 4]
mov esi, ebx
push esi
mov eax, dword [ecx]
call dword [eax]
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d6fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x534]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x525]
call fcn.0045bd30
push dword [esi + 0x14]
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x52c]
push eax
call fcn.00408d00
mov edx, dword [ebp - 0x534]
add esp, 0xc
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d65a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov esi, dword [ebp - 0x52c]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x530]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov dword [ecx + 0x18], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d697
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 0x45d6b6
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.00490238
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00408b70
push 0x8007000e
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
int3