Function at 0x413450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b873
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x4a62e4]
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 ebx, dword [ebp + 8]
lea eax, [ecx + 4]
push str.cfg.dat
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x25c], ebx
push eax
call fcn.004129f0
add esp, 0xc
push dword [ebp - 0x250]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413602
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x413599
push 0x48
push str.d:_buildlib_commonwin11_update_assistant_srcconfig_mgrconfig_mgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040e510
mov byte [ebp - 4], 2
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0x2f4]
push 0x16a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00405aa0
mov esi, eax
push str.cfg.dat_not_exists
push esi
mov byte [ebp - 4], 3
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2f4]
call fcn.00406fb0
lea ecx, [ebp - 0x230]
call fcn.00406570
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00406570
call fcn.0040bd70
mov ecx, eax
test ecx, ecx
je 0x41378c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x48192c
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00409a60
test al, al
jne 0x4135d4
push 0
push 0x48192c
mov ecx, ebx
call fcn.0040c6c0
mov esi, dword [ebp - 0x250]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41376c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x41376c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00450d40
push dword [ebp - 0x250]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x48192c
push str.file_md5
push str.info
call fcn.00432df0
add esp, 0x24
lea ecx, [ebp - 0x254]
push dword [0x4a5070]
call fcn.00412720
mov byte [ebp - 4], 5
call fcn.0040bd70
mov ecx, eax
test ecx, ecx
je 0x413796
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24c]
call fcn.00409a60
test al, al
jne 0x4136b5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413693
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040c6c0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0042c680
add esp, 0xc
mov edx, dword [ebp - 0x24c]
or esi, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4136fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41371b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.00411340
mov edx, dword [ebp - 0x258]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41374a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41376c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.00443153
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407850
push 0x80004005
call fcn.00407850
int3