Function at 0x409ddc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x47c0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xb78], eax
xor ebx, ebx
push esi
mov eax, dword [eax]
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb6c], esi
mov dword [ebp - 0xb70], edi
cmp dword [eax - 0xc], ebx
je 0x40a14c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a14c
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x40a14c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a14c
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004317b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x464064
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [esi + 4]
call fcn.0040b322
lea ecx, [esi + 4]
call fcn.0040b376
test eax, eax
je 0x40a14c
lea ecx, [esi + 4]
call fcn.0040b306
mov dword [esi + 0x1c], eax
test eax, eax
je 0x40a14c
push str.updatecfg.ini
lea eax, [ebp - 0xb74]
push edi
push eax
call fcn.00409a65
push 0x4640a8
lea eax, [ebp - 0xb7c]
push edi
push eax
call fcn.00409a65
mov ecx, dword [esi + 0x1c]
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [ebp - 0xb7c]
mov esi, dword [ebp - 0xb74]
cmp eax, 1
jb 0x40a138
mov edx, dword [ebp - 0xb6c]
push edx
push esi
push str.adbk
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x40a138
mov ecx, dword [ebp - 0xb6c]
push edi
push str.updatetemp
push ebx
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xb6c]
mov edx, dword [ebp - 0xb70]
mov ecx, dword [eax + 0x1c]
push dword [edx]
push str.productpath
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp - 0xb6c]
mov edx, dword [ebp - 0xb70]
mov ecx, dword [eax + 0x1c]
push dword [edx]
push str.instdir
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp - 0xb6c]
mov edx, dword [ebp - 0xb70]
mov ecx, dword [eax + 0x1c]
push dword [edx]
push str.datadir
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
push 0x928
lea eax, [ebp - 0xb64]
push ebx
push eax
call fcn.004317b0
add esp, 0xc
mov dword [ebp - 0xb68], 0x92c
lea eax, [ebp - 0xb64]
push str.adbk
push 0x40
push eax
call fcn.00409d74
mov eax, dword [ebp - 0xb78]
push dword [eax]
lea eax, [ebp - 0xae4]
push 0x104
push eax
call fcn.00409d74
mov eax, dword [ebp - 0xb78]
push dword [eax]
lea eax, [ebp - 0x8dc]
push 0x104
push eax
call fcn.00409d74
push str.adbk
push 0x40
lea eax, [ebp - 0x6d4]
push eax
call fcn.00409d74
push str.adbk
push 0x40
lea eax, [ebp - 0x654]
push eax
call fcn.00409d74
mov eax, dword [ebp - 0xb6c]
lea edx, [ebp - 0xb68]
or dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x244], 1
push ebx
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x40a138
call fcn.004117d0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x40a114
push 0x57
push str.d:jenkins.jenkinsworkspacemgame_adblock_adblockmaster_updateupdateliveupdater.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0xf
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], 0xf
mov byte [ebp - 0x224], bl
call fcn.00405f4b
call fcn.004117d0
mov dword [ebp - 0xb74], eax
lea ecx, [ebp - 0xc14]
push 0x90
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405063
mov ebx, eax
push str.CLiveUpdater::Update
push ebx
call fcn.00405624
mov eax, dword [ebp - 0xb74]
pop ecx
pop ecx
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0xc14]
call fcn.00405733
lea ecx, [ebp - 0x224]
call fcn.00405db0
lea ecx, [ebp - 0x23c]
call fcn.00405db0
mov ebx, dword [ebp - 0xb6c]
push 0xffffffffffffffff
push str.adbk
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x1c]
push str.adbk
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, eax
lea ecx, [edi - 0x10]
call fcn.004041cf
lea ecx, [esi - 0x10]
call fcn.004041cf
mov eax, ebx
jmp 0x40a14e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bf41
leave
ret 0xc