Function at 0x45cd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524e94
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x57c8b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
push dword [edi + 0xc]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x45cf71
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xc]
movups xmmword [ebp - 0x20], xmm0
call fcn.004550e0
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004a99f0
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00454e90
lea esi, [edi + 0x3c]
add esp, 0x20
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x230], esi
jb 0x45ce32
mov esi, dword [esi]
mov dword [ebp - 0x230], esi
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d1c0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.0040ac20
test al, al
jne 0x45cee0
test esi, esi
je 0x45ced5
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x45ced5
mov esi, dword [ebp - 0x22c]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45cead
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040a220
mov esi, dword [ebp - 0x22c]
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x230]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x45d1ca
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x45cee6
lea ecx, [ebp - 0x22c]
call fcn.00427670
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.004c4ecb
add esp, 8
test eax, eax
je 0x45cf27
push str.CPluginTask::RunPlugin_check_MD5_fail
call fcn.00446bb0
lea edx, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
add esp, 4
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x45cf67
push 0x2710
lea eax, [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x234]
push 1
push 0
push 1
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.00443530
lea edx, [esi - 0x10]
mov dword [ebp - 0x238], eax
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45cf71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x23c]
mov edi, dword [ebp - 0x238]
push edi
push str.CPluginTask::InstallPlugin_result_d_code_d
call fcn.00446bb0
add esp, 0xc
call fcn.00409390
mov ecx, eax
test edi, edi
je 0x45d093
test ecx, ecx
je 0x45d1d4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 2
call fcn.0040ac20
test al, al
jne 0x45cfdf
push 0xf
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
call fcn.0040a4c0
mov dword [ebp - 4], 3
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d1de
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x53f054
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.0040ac20
test al, al
jne 0x45d02f
push 3
push 0x53f054
lea ecx, [ebp - 0x22c]
call fcn.0040a4c0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x230], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0041c940
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00416be0
mov edx, dword [ebp - 0x22c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d088
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
jmp 0x45d187
test ecx, ecx
je 0x45d1e8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 7
call fcn.0040ac20
test al, al
jne 0x45d0d8
push 0x10
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
call fcn.0040a4c0
mov dword [ebp - 4], 8
call fcn.00409390
mov ecx, eax
test ecx, ecx
je 0x45d1f2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
push 0x53f054
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040ac20
test al, al
jne 0x45d128
push 3
push 0x53f054
lea ecx, [ebp - 0x238]
call fcn.0040a4c0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x234], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0041c940
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00416be0
mov edx, dword [ebp - 0x238]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d181
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45d1a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490238
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408b70
push 0x80070057
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
push 0x80004005
call fcn.00408b70
int3