Function at 0x100aa330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ba00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50], esi
lea ecx, [esi + 0x38]
mov dword [ebp - 0x54], 0
call fcn.100b1f80
test eax, eax
je 0x100aa5e1
cmp dword [esi + 0xa4], 0
jne 0x100aa5e1
lea ecx, [esi + 0x38]
call fcn.100b2ba0
mov edi, dword [esi + 0xc0]
inc eax
mov esi, dword [esi + 0xc4]
cdq
push edx
push eax
push esi
push edi
call fcn.100c57f0
mov ecx, dword [ebp - 0x50]
add edi, 1
adc esi, 0
or eax, edx
mov dword [ecx + 0xc0], edi
mov edi, ecx
mov dword [edi + 0xc4], esi
jne 0x100aa3ed
lea eax, [ebp - 0x48]
push eax
call fcn.100a7940
push dword [ebp - 0x2c]
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x100aa47e
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100a4e20
lea ecx, [edi + 0x38]
call fcn.100b2cf0
test eax, eax
je 0x100aa5e1
push str.get_current_src_ok
call fcn.100b7d40
add esp, 4
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.100a7ac0
mov esi, dword [ebp - 0x50]
lea eax, [edi + 0x98]
mov ecx, dword [eax]
cmp esi, ecx
jne 0x100aa4e7
mov esi, dword [ecx]
cmp esi, ecx
jne 0x100aa4e7
lea ecx, [edi + 0x38]
call fcn.100b2cf0
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx]
push 0x1013dbc4
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100a4e90
push dword [ebp - 0x50]
mov byte [ebp - 0x49], al
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x49], 0
je 0x100aa4d4
lea ecx, [edi + 0x38]
call fcn.100b3cf0
push str.no_task__then_change_to_nextItem
jmp 0x100aa4d9
lea eax, [ebp - 0x20]
mov dword [edi + 0xa8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
lea ecx, [edi + 0x38]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.100b3ce0
push dword [ebp - 0x2c]
push str.Try_play_single_paper._s
call fcn.100b7d40
mov ecx, dword [edi + 0x34]
add esp, 8
test ecx, ecx
je 0x100aa4c7
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x48]
call fcn.100a4e20
jmp 0x100aa5e1
push str.no_task
call fcn.100b7d40
lea eax, [edi + 0x98]
add esp, 4
cmp esi, dword [eax]
je 0x100aa5d8
nop
lea ecx, [esi + 8]
call fcn.10024d80
test eax, eax
jne 0x100aa512
cmp dword [edi + 0x30], eax
je 0x100aa512
push str.not_downloaded
call fcn.100b7d40
mov esi, dword [esi]
add esp, 4
jmp 0x100aa56d
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
lea edx, [ebp - 0x50]
push edx
push ecx
call dword [eax]
or dword [ebp - 0x54], 1
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100aa537
mov byte [ebp - 0x49], al
cmp dword [edi + 0x30], eax
jne 0x100aa53b
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
and dword [ebp - 0x54], 0xfffffffe
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x49], 0
jne 0x100aa57b
push str.file_not_exist
call fcn.100b7d40
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [edi + 0x98]
push esi
push eax
call fcn.100acd50
mov esi, dword [eax]
cmp esi, dword [edi + 0x98]
jne 0x100aa4f0
jmp 0x100aa5d8
push str.file_ok_change_image
call fcn.100b7d40
add esp, 4
mov dword [edi + 0xa8], 0
lea ecx, [edi + 0x38]
call fcn.100b3cf0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x100aa5aa
mov ecx, dword [edx]
lea eax, [esi + 8]
push eax
push edx
call dword [ecx]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
lea ecx, [edi + 0x38]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.100b3ce0
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x98]
call fcn.100acd50
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
push eax
call dword [ecx]
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.100c495f
mov esp, ebp
pop ebp
ret