Function at 0x40dc0b
Capabilities:
Check if file exists

Disassembly:
push 0xc0c
mov eax, 0x4633f2
call fcn.0041b2e2
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xb80], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x40df44
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40df44
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x40df44
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40df44
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0043af20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UpdateModule.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [edi + 4]
call fcn.0040e0a6
lea ecx, [edi + 4]
call fcn.0040e10a
test eax, eax
je 0x40df44
lea ecx, [edi + 4]
call fcn.0040e08a
mov dword [edi + 0x1c], eax
test eax, eax
je 0x40df44
push str.updatecfg.ini
lea eax, [ebp - 0xb7c]
push esi
push eax
call fcn.00404e41
push 0x467980
lea eax, [ebp - 0xb78]
mov dword [ebp - 4], ebx
push esi
push eax
call fcn.00404e41
add esp, 0x18
mov ecx, dword [edi + 0x1c]
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax]
cmp eax, 1
jb 0x40df24
mov ecx, dword [edi + 0x1c]
push edi
push dword [ebp - 0xb7c]
mov eax, dword [ecx]
push 0x467a2c
call dword [eax + 4]
test eax, eax
je 0x40df24
mov ecx, dword [edi + 0x1c]
push dword [ebp - 0xb78]
push str.updatetemp
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [esi]
push str.productpath
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [esi]
push str.instdir
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [esi]
push str.datadir
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
push 0x928
lea eax, [ebp - 0xb70]
push ebx
push eax
call fcn.0043af20
add esp, 0xc
mov dword [ebp - 0xb74], 0x92c
lea eax, [ebp - 0xb70]
push 0x467a2c
push 0x40
push eax
call fcn.00406052
mov esi, dword [ebp - 0xb80]
lea eax, [ebp - 0xaf0]
push dword [esi]
push 0x104
push eax
call fcn.00406052
push dword [esi]
lea eax, [ebp - 0x8e8]
push 0x104
push eax
call fcn.00406052
mov esi, 0x467a2c
lea eax, [ebp - 0x6e0]
push esi
push 0x40
push eax
call fcn.00406052
push esi
push 0x40
lea eax, [ebp - 0x660]
push eax
call fcn.00406052
mov ecx, dword [edi + 0x1c]
lea edx, [ebp - 0xb74]
or dword [ebp - 0x24c], 0xffffffff
xor esi, esi
inc esi
mov dword [ebp - 0x250], esi
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 0x14]
test eax, eax
je 0x40df24
call fcn.004055ed
push ebx
push ebx
push esi
push ebx
push str.update_start
mov ecx, eax
call fcn.00419050
call fcn.004180e0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, esi
jne 0x40df09
push 0xf
pop esi
push 0x51
push str.d:jenkins.jenkinsworkspacemgame_aichat_aichat_update_2updateliveupdater.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], esi
mov byte [ebp - 0x248], bl
call fcn.0040742d
push 3
push 0x467808
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], esi
mov byte [ebp - 0x230], bl
call fcn.0040742d
push 0x82
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0xc18]
call fcn.004044c3
mov esi, eax
push str.CLiveUpdater::Update
push esi
mov byte [ebp - 4], 4
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 - 0xc18]
call fcn.00404f88
lea ecx, [ebp - 0x230]
call fcn.00407237
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00407237
mov ecx, dword [edi + 0x1c]
mov ebx, 0x467a2c
push 0xffffffffffffffff
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x1c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0xb78]
lea ecx, [ecx - 0x10]
call fcn.00403258
mov ecx, dword [ebp - 0xb7c]
lea ecx, [ecx - 0x10]
call fcn.00403258
mov eax, ebx
jmp 0x40df46
xor eax, eax
call fcn.0041b28c
ret 0xc