Function at 0x40bec4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x47c0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x244], edi
call fcn.004317b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.update_rate.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c015
xor ebx, ebx
inc ebx
mov dword [edi + 0x3c], ebx
call fcn.004117d0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, ebx
jne 0x40c11e
push 0xf
pop esi
push 0x5b
xor ebx, ebx
mov dword [ebp - 0x228], esi
push str.d:jenkins.jenkinsworkspacemgame_adblock_adblockmaster_updateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
call fcn.00405f4b
push 3
push 0x463cc4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x224], bl
call fcn.00405f4b
call fcn.004117d0
mov edi, eax
lea ecx, [ebp - 0x2dc]
push 0x51
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405063
mov esi, eax
push str.CUpdatorFunction::StartUpdateFiles_INI
push esi
call fcn.00405624
mov edx, dword [edi]
pop ecx
pop ecx
push esi
mov ecx, edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2dc]
call fcn.00405733
lea ecx, [ebp - 0x224]
call fcn.00405db0
lea ecx, [ebp - 0x23c]
call fcn.00405db0
jmp 0x40c11e
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00402826
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
lea ecx, [edi + 4]
call fcn.00409ddc
mov ecx, dword [ebp - 0x240]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004041cf
test esi, esi
jne 0x40c11e
call fcn.004117d0
xor ebx, ebx
mov ecx, eax
inc ebx
push ebx
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, ebx
jne 0x40c11b
and dword [ebp - 0x214], eax
lea ecx, [ebp - 0x224]
push 0xf
pop esi
push 0x5b
push str.d:jenkins.jenkinsworkspacemgame_adblock_adblockmaster_updateupdateupdatorfunction.cpp
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x224], al
call fcn.00405f4b
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x23c]
push 3
push 0x463cc4
mov dword [ebp - 0x228], esi
mov byte [ebp - 0x23c], 0
call fcn.00405f4b
call fcn.004117d0
mov edi, eax
lea ecx, [ebp - 0x2dc]
push 0x58
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00405063
mov esi, eax
push str.CUpdatorFunction::StartUpdateFiles
push esi
call fcn.00405624
mov edx, dword [edi]
pop ecx
pop ecx
push esi
mov ecx, edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2dc]
call fcn.00405733
lea ecx, [ebp - 0x23c]
call fcn.00405db0
lea ecx, [ebp - 0x224]
call fcn.00405db0
mov edi, dword [ebp - 0x244]
mov dword [edi + 0x3c], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bf41
leave
ret