Function at 0x100146f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123241
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10170120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xcc], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10014ae5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1001474c
mov eax, dword [esi]
push 0xb8
mov dword [esi + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xc8]
push 0
push eax
mov dword [ebp - 0xd4], 0
call fcn.100d4b80
add esp, 0xc
mov dword [ebp - 0xc8], 0x101302e0
push 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 1
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x5c], 0x58
movlpd qword [ebp - 0xc0], xmm0
call fcn.10015fc0
mov eax, dword [ebp - 0xc8]
push 0
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xb8]
call fcn.10011f70
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 3
call fcn.100160a0
test eax, eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
jne 0x10014838
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x10014847
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.1000a550
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xbc], 6
jne 0x10014ad4
push 2
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.100164f0
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x90]
test ecx, ecx
je 0x1001489a
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.10015a10
mov byte [ebp - 0xcc], al
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xbc], 6
jne 0x100148ef
mov ecx, dword [ebp + ecx - 0x90]
lea edx, [ebp - 0xf4]
push 1
push 1
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 6
jmp 0x10014911
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0xf0], 0xffffffff
movups xmmword [ebp - 0xec], xmm0
mov byte [ebp - 4], 7
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x90]
test ecx, ecx
je 0x10014924
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0xf4]
add edi, dword [ebp - 0xec]
mov byte [ebp - 4], 3
lea esi, [edi + 1]
push esi
call fcn.10031843
push esi
mov esi, eax
mov dword [ebp - 0xcc], eax
push 0
push esi
call fcn.100d4b80
add esp, 0x10
lea ecx, [ebp - 0xc8]
push 0
push 0
push 0
call fcn.100164f0
mov eax, edi
lea ecx, [ebp - 0xc8]
cdq
push edx
push eax
push esi
call fcn.100163c0
test edi, edi
je 0x10014a5a
call fcn.1000e2a0
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.10029cd0
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf
mov byte [ebp - 0x10c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100149b0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x10c]
call fcn.1000a450
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100149f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xf4]
call fcn.1000a450
push dword [ebp - 0xdc]
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.100bc900
add esp, 0xc
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.10007680
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.10007680
xor eax, eax
mov ecx, 1
test esi, esi
mov esi, dword [ebp - 0xcc]
cmovne eax, ecx
mov dword [ebp - 0xd4], eax
push esi
call fcn.1003184c
add esp, 4
lea esi, [ebp - 0xb8]
cmp dword [ebp - 0x6c], 0
jne 0x10014a73
xor esi, esi
jmp 0x10014a97
lea ecx, [ebp - 0xb8]
call fcn.10015720
push dword [ebp - 0x6c]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.100dcc53
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0xb8]
call fcn.100157e0
test esi, esi
jne 0x10014ad4
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
xor edx, edx
push esi
mov eax, dword [eax + 4]
add ecx, eax
cmp dword [ecx + 0x38], edx
sete dl
lea edx, [edx*4 + 2]
or edx, dword [ecx + 0xc]
push edx
call fcn.1000a550
lea ecx, [ebp - 0xc8]
call fcn.10012660
mov eax, dword [ebp - 0xd4]
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.100316da
mov esp, ebp
pop ebp
ret