Function at 0x10010eb0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x241c
call fcn.10014b30
mov eax, dword [0x100210f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x241c], ecx
mov eax, dword [ebp - 0x241c]
cmp dword [eax + 0x21c], 0
jne 0x10010ee6
mov eax, 1
jmp 0x100112a6
mov ecx, dword [ebp - 0x241c]
cmp dword [ecx + 0x218], 0
je 0x10010f0e
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x224], 0
je 0x10010f0e
mov eax, 1
jmp 0x100112a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x241c]
cmp dword [eax + 0x228], 0
je 0x10010f44
mov ecx, dword [ebp - 0x241c]
mov edx, dword [ecx + 0x228]
add edx, 0x2710
cmp edx, dword [ebp - 4]
jbe 0x10010f44
xor eax, eax
jmp 0x100112a6
mov eax, dword [ebp - 0x241c]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x228], ecx
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x214], 0
jne 0x1001106e
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10010fb4
push 0x1001df88
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.10002110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push str._sFse_binFseRunLog.dll
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.10002110
add esp, 0x10
push 8
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x241c]
mov dword [ecx + 0x214], eax
xor edx, edx
mov word [ebp - 0xc18], dx
push 0x7fe
push 0
lea eax, [ebp - 0xc16]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x241c]
mov edx, dword [ecx + 0x214]
push edx
push str.CheckInit_RunLog_Handle
push 0x1001dff8
push 0x1001e010
push 0x3ff
lea eax, [ebp - 0xc18]
push eax
call fcn.10002110
add esp, 0x1c
lea ecx, [ebp - 0xc18]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x214], 0
je 0x100111cf
mov eax, dword [ebp - 0x241c]
cmp dword [eax + 0x220], 0
je 0x100110a3
mov ecx, dword [ebp - 0x241c]
cmp dword [ecx + 0x224], 0
jne 0x100111cf
push str.FseGetRunLogHandle
mov edx, dword [ebp - 0x241c]
mov eax, dword [edx + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x241c]
mov dword [ecx + 0x220], eax
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x220], 0
jne 0x10011139
xor eax, eax
mov word [ebp - 0x1418], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1416]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x241c]
mov eax, dword [edx + 0x214]
push eax
push str.CheckInit_Load_FseGetRunLogHandle_Error
push 0x1001e0c8
push 0x1001e0e0
push 0x3ff
lea ecx, [ebp - 0x1418]
push ecx
call fcn.10002110
add esp, 0x1c
lea edx, [ebp - 0x1418]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FseWriteLog
mov eax, dword [ebp - 0x241c]
mov ecx, dword [eax + 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x241c]
mov dword [edx + 0x224], eax
mov eax, dword [ebp - 0x241c]
cmp dword [eax + 0x224], 0
jne 0x100111cf
xor ecx, ecx
mov word [ebp - 0x1c18], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1c16]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x241c]
mov ecx, dword [eax + 0x214]
push ecx
push str.CheckInit_Load_mFnPFseWriteLog_Error
push 0x1001e18c
push 0x1001e1a8
push 0x3ff
lea edx, [ebp - 0x1c18]
push edx
call fcn.10002110
add esp, 0x1c
lea eax, [ebp - 0x1c18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x241c]
cmp dword [ecx + 0x220], 0
je 0x1001127f
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x224], 0
je 0x1001127f
mov eax, dword [ebp - 0x241c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x241c]
mov edx, dword [ecx + 0x220]
call edx
add esp, 4
mov ecx, dword [ebp - 0x241c]
mov dword [ecx + 0x218], eax
xor edx, edx
mov word [ebp - 0x2418], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2416]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x241c]
mov edx, dword [ecx + 0x218]
push edx
push str.CheckInit_RunLog_Writer
push str.CSPLogger::InitRunLoger
push str.FseRun___S___s__value:_p__value:0x_08x
push 0x3ff
lea eax, [ebp - 0x2418]
push eax
call fcn.10002110
add esp, 0x1c
lea ecx, [ebp - 0x2418]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x241c]
cmp dword [edx + 0x218], 0
je 0x100112a4
mov eax, dword [ebp - 0x241c]
cmp dword [eax + 0x224], 0
je 0x100112a4
mov eax, 1
jmp 0x100112a6
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret