Function at 0x4618e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d214
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5898bc]
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 0x461ad1
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xc]
movups xmmword [ebp - 0x20], xmm0
call fcn.00459790
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004b2720
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00459540
lea esi, [edi + 0x3c]
add esp, 0x20
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x230], esi
jb 0x461992
mov esi, dword [esi]
mov dword [ebp - 0x230], esi
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x461d20
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.0040afe0
test al, al
jne 0x461a40
test esi, esi
je 0x461a35
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 0x461a35
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 0x461a0d
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040a590
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 0x461d2a
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x461a46
lea ecx, [ebp - 0x22c]
call fcn.00428860
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.004cdb58
add esp, 8
test eax, eax
je 0x461a87
push str.CPluginTask::RunPlugin_check_MD5_fail
call fcn.0044a720
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 0x461ac7
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.004469e0
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 0x461ad1
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.0044a720
add esp, 0xc
call fcn.004097e0
mov ecx, eax
test edi, edi
je 0x461bf3
test ecx, ecx
je 0x461d34
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.0040afe0
test al, al
jne 0x461b3f
push 0xf
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
call fcn.0040a830
mov dword [ebp - 4], 3
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x461d3e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x5480e4
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.0040afe0
test al, al
jne 0x461b8f
push 3
push 0x5480e4
lea ecx, [ebp - 0x22c]
call fcn.0040a830
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.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00417360
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 0x461be8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
jmp 0x461ce7
test ecx, ecx
je 0x461d48
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.0040afe0
test al, al
jne 0x461c38
push 0x10
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
call fcn.0040a830
mov dword [ebp - 4], 8
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x461d52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
push 0x5480e4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040afe0
test al, al
jne 0x461c88
push 3
push 0x5480e4
lea ecx, [ebp - 0x238]
call fcn.0040a830
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.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00417360
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 0x461ce1
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 0x461d03
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.00498678
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408fc0
push 0x80070057
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
int3