Function at 0x4265f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fed0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42662f
xor eax, eax
jmp 0x4266d1
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x6c], 0
call fcn.0042f9a0
mov esi, eax
add esp, 8
test esi, esi
je 0x426628
push 0
push 0x400
push 0
lea ecx, [ebp - 0x48]
call fcn.00424c80
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
jbe 0x4266ee
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.00423ea0
cmp dword [eax + 0x30], 0
je 0x4266ee
push str.CInternal::CheckLogFileValid
push str._UNO___s__Parse_error
call fcn.00422df0
push esi
call fcn.004871da
add esp, 0xc
xor esi, esi
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4266bc
mov ecx, edi
call fcn.00426880
push dword [edi + 0x10]
call fcn.00486409
push edi
call fcn.00486409
add esp, 8
push dword [ebp - 0x28]
call fcn.004871da
push dword [ebp - 0x2c]
call fcn.00486409
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004871da
mov esi, dword [ebp - 0x48]
add esp, 4
lea eax, [ebp - 0x64]
push str.uuid
shl esi, 5
add esi, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426ed0
cmp dword [eax], esi
je 0x42669b
mov esi, dword [ebp - 0x48]
push str.PRODUCT
lea eax, [ebp - 0x64]
shl esi, 5
add esi, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426ed0
cmp dword [eax], esi
je 0x42669b
mov esi, dword [ebp - 0x48]
push str.VERSION
lea eax, [ebp - 0x64]
shl esi, 5
add esi, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426ed0
cmp dword [eax], esi
je 0x42669b
push str.VERSION
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x42669b
push str.VERSIONTYPE
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x42669b
push 0x4aef3c
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x42669b
push str.CHANNEL
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x42669b
push str.CUSTOMERNO
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x42669b
push str.uuid
lea ecx, [ebp - 0x48]
call fcn.00422eb0
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x4267dd
mov eax, dword [eax + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.004119f0
cmp dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
je 0x426864
push str.event
lea ecx, [ebp - 0x48]
call fcn.00426fe0
test al, al
je 0x426864
push str.event
lea ecx, [ebp - 0x48]
call fcn.00422eb0
cmp word [eax + 0xe], 4
jne 0x426864
push str.event
lea ecx, [ebp - 0x48]
call fcn.00422eb0
mov eax, dword [eax + 8]
cmp word [eax + 0xe], 3
jne 0x426864
push str.event
lea ecx, [ebp - 0x48]
call fcn.00422eb0
mov ecx, dword [eax + 8]
push str.time
call fcn.00422eb0
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x426864
lea ecx, [ebp - 0x60]
mov esi, 1
call fcn.00411a50
jmp 0x42669d
lea ecx, [ebp - 0x60]
xor esi, esi
call fcn.00411a50
jmp 0x42669d