Function at 0x1004c050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f4e54
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10136674]
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 0x1004c241
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xc]
movups xmmword [ebp - 0x20], xmm0
call fcn.10044cf0
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.1007bae0
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10044aa0
lea esi, [edi + 0x3c]
add esp, 0x20
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x230], esi
jb 0x1004c102
mov esi, dword [esi]
mov dword [ebp - 0x230], esi
call fcn.10006650
mov ecx, eax
test ecx, ecx
je 0x1004c490
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.10007c80
test al, al
jne 0x1004c1b0
test esi, esi
je 0x1004c1a5
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 0x1004c1a5
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 0x1004c17d
push edi
lea ecx, [ebp - 0x22c]
call fcn.100073f0
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 0x1004c49a
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x1004c1b6
lea ecx, [ebp - 0x22c]
call fcn.10021a30
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.10096fb8
add esp, 8
test eax, eax
je 0x1004c1f7
push str.CPluginTask::RunPlugin_check_MD5_fail
call fcn.100399a0
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 0x1004c237
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.10036340
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 0x1004c241
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.100399a0
add esp, 0xc
call fcn.10006650
mov ecx, eax
test edi, edi
je 0x1004c363
test ecx, ecx
je 0x1004c4a4
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.10007c80
test al, al
jne 0x1004c2af
push 0xf
push str.pdf_install_suc
lea ecx, [ebp - 0x234]
call fcn.10007690
mov dword [ebp - 4], 3
call fcn.10006650
mov ecx, eax
test ecx, ecx
je 0x1004c4ae
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push 0x101088dc
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.10007c80
test al, al
jne 0x1004c2ff
push 3
push 0x101088dc
lea ecx, [ebp - 0x22c]
call fcn.10007690
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.10017d10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10013310
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 0x1004c358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
jmp 0x1004c457
test ecx, ecx
je 0x1004c4b8
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.10007c80
test al, al
jne 0x1004c3a8
push 0x10
push str.pdf_install_fail
lea ecx, [ebp - 0x230]
call fcn.10007690
mov dword [ebp - 4], 8
call fcn.10006650
mov ecx, eax
test ecx, ecx
je 0x1004c4c2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
push 0x101088dc
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.10007c80
test al, al
jne 0x1004c3f8
push 3
push 0x101088dc
lea ecx, [ebp - 0x238]
call fcn.10007690
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.10017d10
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.10013310
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 0x1004c451
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 0x1004c473
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.10069b58
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005ea0
push 0x80070057
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
int3