Function at 0x41ee20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4401
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5374e4]
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
mov esi, dword [ebp + 0xc]
push dword [esi]
push str.start_Run:_d
call fcn.00421b90
mov eax, dword [ebp + 8]
add esp, 8
mov dword [edi + 0x3c], eax
cmp dword [esi], 0
je 0x41ee93
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.0049a810
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call esi
lea ecx, [ebp - 0x420]
lea ebx, [edi + 0x38]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41eef0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0040dd50
push dword [ebx]
push str.LuDaShi_RootDir:__s
call fcn.00421b90
add esp, 8
mov ecx, edi
call fcn.0041de40
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x41ef70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ef70
lea ecx, [ebp - 0x838]
call fcn.0041c350
push str.GameCenter
push dword [ebx]
lea eax, [ebp - 0x838]
mov dword [ebp - 4], 0
push eax
call fcn.0041c630
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c360
jmp 0x41ef8e
push 0
push 0
push 0x10
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebx]
push str.LuDaShi_RootDir_is_invalidate:__s
call fcn.00421b90
add esp, 8
push str.CUpdatorFunction::UpdateIniFile
call fcn.00421b90
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0049a810
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0049a810
add esp, 0x1c
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.004a595d
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.00419dd0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push eax
push str.convert_ini_file_from__s_to___s
call fcn.00421b90
push str.CUpdatorFunction::StartUpdateFiles
call fcn.00421b90
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049a810
add esp, 0x24
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 0x41f0cd
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.00421b90
add esp, 8
jmp 0x41f1a0
call fcn.0040db10
mov ecx, eax
test ecx, ecx
je 0x41f1be
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x41f10f
movzx eax, ax
lea ecx, [ebp - 0x834]
push eax
call fcn.00414690
jmp 0x41f142
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f120
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x834]
call fcn.0040dd50
push ebx
lea eax, [ebp - 0x834]
mov dword [ebp - 4], 2
push eax
push edi
lea ecx, [edi + 4]
call fcn.0041d260
mov edx, dword [ebp - 0x834]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41f181
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x41f1a0
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.00421b90
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.0046a581
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004034a0
int3