Function at 0x456730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5178e4
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x56e6c4]
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 0x456921
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xc]
movups xmmword [ebp - 0x20], xmm0
call fcn.0044ee10
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.0049d980
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044ebc0
lea esi, [edi + 0x3c]
add esp, 0x20
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x230], esi
jb 0x4567e2
mov esi, dword [esi]
mov dword [ebp - 0x230], esi
call fcn.00408f10
mov ecx, eax
test ecx, ecx
je 0x456b70
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.0040a7c0
test al, al
jne 0x456890
test esi, esi
je 0x456885
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 0x456885
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 0x45685d
push edi
lea ecx, [ebp - 0x22c]
call fcn.00409cb0
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 0x456b7a
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x456896
lea ecx, [ebp - 0x22c]
call fcn.004283a0
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.004b8e58
add esp, 8
test eax, eax
je 0x4568d7
push str.CPluginTask::RunPlugin_check_MD5_fail
call fcn.00442c30
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 0x456917
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.0043f5d0
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 0x456921
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.00442c30
add esp, 0xc
call fcn.00408f10
mov ecx, eax
test edi, edi
je 0x456a43
test ecx, ecx
je 0x456b84
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.0040a7c0
test al, al
jne 0x45698f
push 0xf
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
call fcn.00409f50
mov dword [ebp - 4], 3
call fcn.00408f10
mov ecx, eax
test ecx, ecx
je 0x456b8e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x52fec4
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.0040a7c0
test al, al
jne 0x4569df
push 3
push 0x52fec4
lea ecx, [ebp - 0x22c]
call fcn.00409f50
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.0041c480
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00417a80
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 0x456a38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
jmp 0x456b37
test ecx, ecx
je 0x456b98
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.0040a7c0
test al, al
jne 0x456a88
push 0x10
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
call fcn.00409f50
mov dword [ebp - 4], 8
call fcn.00408f10
mov ecx, eax
test ecx, ecx
je 0x456ba2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
push 0x52fec4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040a7c0
test al, al
jne 0x456ad8
push 3
push 0x52fec4
lea ecx, [ebp - 0x238]
call fcn.00409f50
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.0041c480
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00417a80
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 0x456b31
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 0x456b53
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.00483518
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408720
push 0x80070057
call fcn.00408720
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
int3