Function at 0x40f0a9
Capabilities:
Check if file exists

Disassembly:
push esi
push 0xc8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0040ec57
mov ecx, esi
call fcn.0040e26e
mov ecx, esi
call fcn.0040eb56
mov ecx, esi
call fcn.0040f39b
mov ecx, esi
pop esi
jmp 0x40f12a
push 0x3a0
mov eax, 0x462162
call fcn.0041b2e2
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004399d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.update_rate.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f278
xor ebx, ebx
inc ebx
mov dword [edi + 0x3c], ebx
call fcn.004180e0
push ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, ebx
jne 0x40f395
and dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
push 0xf
pop esi
push 0x57
push str.d:jenkins.jenkinsworkspacemgameultra_uninstallerupdateupdateupdatorfunction.cpp
mov dword [ebp - 0x234], esi
mov byte [ebp - 0x248], al
call fcn.0040742d
xor eax, eax
mov dword [ebp - 0x21c], esi
push 3
push 0x466808
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x230], al
call fcn.0040742d
push 0x4d
lea eax, [ebp - 0x248]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x314]
call fcn.004044c3
mov esi, eax
push str.CUpdatorFunction::StartUpdateFiles_INI
push esi
mov byte [ebp - 4], 2
call fcn.00404d86
pop ecx
pop ecx
call fcn.004180e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.00404f88
lea ecx, [ebp - 0x230]
call fcn.00407237
lea ecx, [ebp - 0x248]
call fcn.00407237
jmp 0x40f395
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004027d9
lea eax, [edi + 0x38]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x27c]
push eax
push edi
lea ecx, [edi + 4]
call fcn.0040dc0b
mov ecx, dword [ebp - 0x27c]
mov esi, eax
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00403258
test esi, esi
jne 0x40f395
call fcn.004180e0
xor ebx, ebx
inc ebx
push ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, ebx
jne 0x40f392
and dword [ebp - 0x268], eax
lea ecx, [ebp - 0x278]
push 0xf
pop esi
push 0x57
push str.d:jenkins.jenkinsworkspacemgameultra_uninstallerupdateupdateupdatorfunction.cpp
mov dword [ebp - 0x264], esi
mov byte [ebp - 0x278], al
call fcn.0040742d
and dword [ebp - 0x250], 0
lea ecx, [ebp - 0x260]
push 3
push 0x466808
mov dword [ebp - 4], 4
mov dword [ebp - 0x24c], esi
mov byte [ebp - 0x260], 0
call fcn.0040742d
push 0x54
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004044c3
mov esi, eax
push str.CUpdatorFunction::StartUpdateFiles
push esi
mov byte [ebp - 4], 6
call fcn.00404d86
pop ecx
pop ecx
call fcn.004180e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00404f88
lea ecx, [ebp - 0x260]
call fcn.00407237
lea ecx, [ebp - 0x278]
call fcn.00407237
mov dword [edi + 0x3c], ebx
call fcn.0041b28c
ret