Function at 0x100013e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101b100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov al, byte [esi + 4]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
test al, al
je 0x10001424
mov al, 1
jmp 0x100016a8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test edi, edi
jne 0x1000146e
push ecx
lea ecx, [ebp - 0x30]
call fcn.10001710
lea ecx, [ebp - 0x30]
call fcn.100017a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10001810
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
jmp 0x100014c4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
push edi
call ebx
test eax, eax
je 0x10001497
push ecx
lea ecx, [ebp - 0x30]
call fcn.10001710
lea ecx, [ebp - 0x30]
call fcn.100017a0
push edi
lea ecx, [ebp - 0x30]
call fcn.10001810
jmp 0x100014c4
push edi
lea ecx, [ebp - 0x54]
call fcn.100018d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
cmp ecx, eax
je 0x100014b8
push 0xffffffffffffffff
push 0
push eax
call fcn.100019f0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.100016d0
mov edi, dword [ebp - 0x30]
cmp dword [edi + 0x14], 8
jb 0x100014cf
mov edi, dword [edi]
push edi
call ebx
test eax, eax
jne 0x100014eb
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100014eb
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
jne 0x10001614
mov edi, dword [ebp - 0x30]
cmp dword [edi + 0x14], 8
jb 0x10001500
mov edi, dword [edi]
mov esi, dword [0x101b2520]
test esi, esi
jne 0x10001566
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x10c]
add esp, 0xc
push eax
call ebx
mov dword [0x101b2520], esi
jmp 0x1000156c
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push str.Load__S_failed.
push 0
push str.CBaseInterface::Init
push str...........outcommonBaseInterface.cpp
push 0x28
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x1c
test esi, esi
jne 0x100015e7
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call ebx
mov dword [0x101b2520], esi
push str.CBaseInterface::Init
push str...........outcommonBaseInterface.cpp
push 0x28
push ecx
mov ecx, esi
call fcn.10007830
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1000160d
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10001f20
xor al, al
jmp 0x100016a8
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x1000161f
mov eax, dword [eax]
push eax
push str.Load__S_success.
push 0
push str.CBaseInterface::Init
push str...........outcommonBaseInterface.cpp
push 0x2c
call fcn.10007170
push eax
call fcn.100073e0
mov byte [ebp - 4], 2
add esp, 0x1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esi + 4], 1
jmp 0x10001691
mov ecx, dword [ebp - 0x18]
mov bl, byte [esi + 4]
cmp ecx, 8
jb 0x100016a6
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.10001f20
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000a89d
mov esp, ebp
pop ebp
ret 4