Function at 0x4141a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a386
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x49d22c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0043b4c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x414313
push 0x29
push str.e:lib_commoncommon_helper_task_task.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00406620
push 3
push 0x47f9f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406620
mov byte [ebp - 4], 1
call fcn.0043b4c0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x19
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402550
mov esi, eax
push str.DoTask:
push esi
mov byte [ebp - 4], 2
call fcn.00403970
mov ecx, dword [ebx + 0x80]
mov edx, 0x47f96c
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.004015f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00403aa0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4142c6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4142bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41444f
push edx
push ecx
call fcn.0043c675
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x414313
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414309
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414454
push edx
push ecx
call fcn.0043c675
add esp, 8
push dword [ebx + 0x68]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414368
mov ecx, ebx
call fcn.004042d0
lea ecx, [ebx + 0x34]
call fcn.00411ff0
push 0x47fa30
push dword [ebx + 0x58]
call fcn.00455106
add esp, 8
test eax, eax
jne 0x41435b
push str.LeyouGametray
push dword [ebx + 0x58]
call fcn.00455106
add esp, 8
test eax, eax
jne 0x414433
lea ecx, [ebx + 0x44]
call fcn.004114a0
jmp 0x414433
call fcn.0043b4c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x414433
push 0x29
push str.e:lib_commoncommon_helper_task_task.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.00406620
push 3
push 0x47f9f4
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00406620
mov byte [ebp - 4], 4
call fcn.0043b4c0
mov edi, eax
lea ecx, [ebp - 0x1a0]
push 0x22
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402550
mov esi, eax
push str.TrayPath_not_exist.
push esi
mov byte [ebp - 4], 5
call fcn.00403970
mov ecx, dword [ebx + 0x68]
mov eax, 0x47f96c
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.004015f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.00403aa0
lea ecx, [ebp - 0x58]
call fcn.00402f40
lea ecx, [ebp - 0x70]
call fcn.00402f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c91d
mov esp, ebp
pop ebp
ret
call fcn.00454cb9
call fcn.00454cb9
int3