Function at 0x10034960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082928
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100a6250]
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 - 0x30], edi
lea esi, [edi + 0x38]
mov dword [ebp - 0x2c], 0
mov ecx, esi
mov dword [ebp - 0x38], esi
call fcn.10037f90
test eax, eax
je 0x10034baf
cmp dword [edi + 0xa4], 0
jne 0x10034baf
mov ecx, esi
call fcn.10038d30
test eax, eax
je 0x10034baf
push str.get_current_src_ok
call fcn.10040310
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10032480
mov esi, dword [ebp - 0x28]
mov eax, dword [edi + 0x98]
cmp esi, eax
jne 0x10034a75
mov esi, dword [eax]
cmp esi, eax
jne 0x10034a75
mov ecx, dword [ebp - 0x38]
call fcn.10038d30
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x28], eax
push 0x1008e0ec
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
je 0x10034bca
mov eax, dword [ebp - 0x28]
push 0
push 0x400
push edi
push dword [eax]
call sub.OLEAUT32.dll_VarR8Pow
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x28], eax
call edi
push dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call edi
cmp dword [ebp - 0x28], 1
jne 0x10034a65
mov ecx, dword [ebp - 0x38]
call fcn.10039dd0
push str.no_task__then_change_to_nextItem
jmp 0x10034a6a
push str.no_task
call fcn.10040310
mov edi, dword [ebp - 0x30]
add esp, 4
cmp esi, dword [edi + 0x98]
je 0x10034ba6
lea ecx, [esi + 8]
call fcn.10036e40
test eax, eax
jne 0x10034aa6
cmp dword [edi + 0x30], eax
je 0x10034aa6
push str.not_downloaded
call fcn.10040310
mov esi, dword [esi]
add esp, 4
jmp 0x10034b21
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
lea edx, [ebp - 0x34]
push edx
push ecx
call dword [eax]
or dword [ebp - 0x2c], 1
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10034acb
mov byte [ebp - 0x21], al
cmp dword [edi + 0x30], eax
jne 0x10034acf
mov byte [ebp - 0x21], 1
push dword [ebp - 0x34]
and dword [ebp - 0x2c], 0xfffffffe
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x21], 0
jne 0x10034b2f
push str.file_not_exist
call fcn.10040310
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov edi, dword [esi]
add esp, 4
mov dword [eax], edi
mov edx, dword [esi]
mov eax, dword [esi + 4]
push 0
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x30]
dec dword [eax + 0x9c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x3c
push esi
call fcn.1001a759
mov esi, edi
add esp, 8
mov edi, dword [ebp - 0x30]
cmp esi, dword [edi + 0x98]
jne 0x10034a81
jmp 0x10034ba6
push str.file_ok_change_image
call fcn.10040310
add esp, 4
mov dword [edi + 0xa8], 0
lea ecx, [edi + 0x38]
call fcn.10039dd0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x10034b5e
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.10039dc0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push 0
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
dec dword [edi + 0x9c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x3c
push esi
call fcn.1001a759
add esp, 8
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.1001a767
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.10006e50
int3