Function at 0x100147c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128441
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10175120]
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 0x10014bb5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1001481c
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.100d9d50
add esp, 0xc
mov dword [ebp - 0xc8], 0x101352e0
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.100161e0
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.10012040
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 3
call fcn.100162c0
test eax, eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
jne 0x10014908
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x10014917
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 0x10014ba4
push 2
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.10016710
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 0x1001496a
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.10015c30
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 0x100149bf
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 0x100149e1
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 0x100149f4
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.10031ed3
push esi
mov esi, eax
mov dword [ebp - 0xcc], eax
push 0
push esi
call fcn.100d9d50
add esp, 0x10
lea ecx, [ebp - 0xc8]
push 0
push 0
push 0
call fcn.10016710
mov eax, edi
lea ecx, [ebp - 0xc8]
cdq
push edx
push eax
push esi
call fcn.100165e0
test edi, edi
je 0x10014b2a
call fcn.1000e350
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.10029f10
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 0x10014a80
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 0x10014ac0
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.100c1b60
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.10031edc
add esp, 4
lea esi, [ebp - 0xb8]
cmp dword [ebp - 0x6c], 0
jne 0x10014b43
xor esi, esi
jmp 0x10014b67
lea ecx, [ebp - 0xb8]
call fcn.10015940
push dword [ebp - 0x6c]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.100e1e23
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0xb8]
call fcn.10015a00
test esi, esi
jne 0x10014ba4
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.10012730
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.10031d6d
mov esp, ebp
pop ebp
ret