Function at 0x41c690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x4e949c]
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 edi, ecx
push 0x4c212c
call fcn.0041f600
mov eax, dword [ebp + 8]
add esp, 4
mov dword [edi + 0x3c], eax
push str.computerz_update_quit
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0
push 0
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call ebx
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c750
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x38]
call fcn.0040c380
push dword [edi + 0x38]
push str.LuDaShi_RootDir:__s
call fcn.0041f600
add esp, 8
call fcn.0040c140
mov ecx, eax
test ecx, ecx
je 0x41cb13
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
mov eax, str.360base.dll
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x834]
test eax, 0xffff0000
jne 0x41c7c0
movzx eax, ax
push eax
call fcn.004150e0
jmp 0x41c7cc
push 0xb
push str.360base.dll
call fcn.0040c380
lea eax, [ebp - 0x834]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0041b950
mov edx, dword [ebp - 0x834]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040c140
mov ecx, eax
test ecx, ecx
je 0x41cb1d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
mov eax, str.Safelive.dll
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x834]
test eax, 0xffff0000
jne 0x41c849
movzx eax, ax
push eax
call fcn.004150e0
jmp 0x41c855
push 0xc
push str.Safelive.dll
call fcn.0040c380
lea eax, [ebp - 0x834]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0041b950
mov edx, dword [ebp - 0x834]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c88e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x41c8dc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c8dc
lea ecx, [ebp - 0x838]
call fcn.0041a280
push str.GameCenter
push dword [edi + 0x38]
lea eax, [ebp - 0x838]
mov dword [ebp - 4], 4
push eax
call fcn.0041a560
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a290
jmp 0x41c8fb
push 0
push 0
push 0x10
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 0x38]
push str.LuDaShi_RootDir_is_invalidate:__s
call fcn.0041f600
add esp, 8
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00464a00
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00464a00
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0046fb4d
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
add esp, 0xc
push str.update.ini
push eax
call esi
push str.update_rate.ini
lea eax, [ebp - 0x830]
push eax
call esi
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00417d00
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push eax
push str.convert_ini_file_from__s_to___s
call fcn.0041f600
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00464a00
add esp, 0x20
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_rate.ini
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ca2a
push eax
push eax
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
push 0x10
push dword [edi + 0x3c]
call eax
lea eax, [ebp - 0x218]
push eax
push str.ini_file_DOESNOT_exists._s
call fcn.0041f600
add esp, 8
jmp 0x41caf5
call fcn.0040c140
mov ecx, eax
test ecx, ecx
je 0x41cb27
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 5
test eax, 0xffff0000
jne 0x41ca6c
movzx eax, ax
lea ecx, [ebp - 0x834]
push eax
call fcn.004150e0
jmp 0x41ca97
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ca75
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x834]
call fcn.0040c380
lea eax, [edi + 0x38]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x834]
push eax
push edi
lea ecx, [edi + 4]
call fcn.0041b140
mov edx, dword [ebp - 0x834]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41cad6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x41caf5
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push esi
push 0x10
push dword [edi + 0x3c]
call eax
push str.start_update_failed
call fcn.0041f600
add esp, 4
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.00462391
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00401af0
push 0x80004005
call fcn.00401af0
push 0x80004005
call fcn.00401af0
int3