Function at 0x10014c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170547
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x101d9154]
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, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.100153b0
mov ecx, ebx
call fcn.10014ef0
cmp dword [ebx + 0x30], 8
lea edi, [ebx + 0x1c]
jb 0x10014ca1
mov eax, dword [edi]
jmp 0x10014ca3
mov eax, edi
push str.Config
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.10006d80
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10014cdd
lea eax, [ebp - 0x218]
push eax
call fcn.1006aeb7
add esp, 4
lea eax, [ebx + 4]
lea esi, [ebx + 0x34]
cmp esi, eax
je 0x10014cf3
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10006710
push 9
push str.Vchbe.ini
mov ecx, esi
call fcn.100065e0
push 0xd
push 0
push str.systemprofile
mov ecx, edi
call fcn.10006aa0
cmp eax, 0xffffffff
je 0x10014d29
lea eax, [ebx + 4]
cmp edi, eax
je 0x10014d29
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10006710
cmp dword [esi + 0x14], 8
jb 0x10014d31
mov esi, dword [esi]
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.10067651
add esp, 8
lea esi, [ebx + 0x4c]
mov edi, eax
cmp esi, edi
je 0x10014d84
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10014d5d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10006930
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10014d75
mov eax, dword [esi]
jmp 0x10014d77
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.10005f90
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x10014da9
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10006930
push 6
push str.Config
mov ecx, esi
call fcn.100065e0
push 1
push 0x101734d4
mov ecx, esi
call fcn.100065e0
push 9
push str.Vchbe.ini
mov ecx, esi
call fcn.100065e0
cmp dword [esi + 0x14], 8
jb 0x10014ddd
mov eax, dword [esi]
jmp 0x10014ddf
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10014dfb
cmp dword [esi + 0x14], 8
jb 0x10014df2
mov esi, dword [esi]
push esi
call fcn.1006aeb7
add esp, 4
mov ecx, ebx
call fcn.10015210
mov ecx, ebx
call fcn.10015550
lea ecx, [ebp - 0x254]
call fcn.100716d7
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x254]
call fcn.10075c66
mov edi, eax
lea esi, [ebx + 0x94]
cmp esi, edi
je 0x10014e71
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10014e4c
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.1000a150
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10014e64
mov eax, dword [esi]
jmp 0x10014e66
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.1000ec30
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x10014e8f
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.1000a150
lea ecx, [ebp - 0x254]
call fcn.100828a0
mov eax, 1
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.10062ee4
mov esp, ebp
pop ebp
ret 8