Function at 0x457880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bbf4
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5746cc]
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 0x457a71
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xc]
movups xmmword [ebp - 0x20], xmm0
call fcn.0044fd00
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004a3360
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044fab0
lea esi, [edi + 0x3c]
add esp, 0x20
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x230], esi
jb 0x457932
mov esi, dword [esi]
mov dword [ebp - 0x230], esi
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x457cc0
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.0040b400
test al, al
jne 0x4579e0
test esi, esi
je 0x4579d5
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 0x4579d5
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 0x4579ad
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040a8f0
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 0x457cca
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x4579e6
lea ecx, [ebp - 0x22c]
call fcn.00429160
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.004be798
add esp, 8
test eax, eax
je 0x457a27
push str.CPluginTask::RunPlugin_check_MD5_fail
call fcn.00443b30
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 0x457a67
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.004404d0
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 0x457a71
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.00443b30
add esp, 0xc
call fcn.00409b50
mov ecx, eax
test edi, edi
je 0x457b93
test ecx, ecx
je 0x457cd4
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.0040b400
test al, al
jne 0x457adf
push 0xf
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
call fcn.0040ab90
mov dword [ebp - 4], 3
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x457cde
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x534ec4
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.0040b400
test al, al
jne 0x457b2f
push 3
push 0x534ec4
lea ecx, [ebp - 0x22c]
call fcn.0040ab90
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.0041d260
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00418810
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 0x457b88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
jmp 0x457c87
test ecx, ecx
je 0x457ce8
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.0040b400
test al, al
jne 0x457bd8
push 0x10
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
call fcn.0040ab90
mov dword [ebp - 4], 8
call fcn.00409b50
mov ecx, eax
test ecx, ecx
je 0x457cf2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
push 0x534ec4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040b400
test al, al
jne 0x457c28
push 3
push 0x534ec4
lea ecx, [ebp - 0x238]
call fcn.0040ab90
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.0041d260
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00418810
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 0x457c81
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 0x457ca3
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.004864b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
push 0x80070057
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
int3