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

Disassembly:
sub esp, 0xc14
mov eax, dword [0x1004f100]
xor eax, esp
mov dword [esp + 0xc10], eax
cmp dword [esi + 0x21c], 0
jne 0x1001b627
mov eax, 1
mov ecx, dword [esp + 0xc10]
xor ecx, esp
call fcn.100269c5
add esp, 0xc14
ret
cmp dword [esi + 0x218], 0
je 0x1001b639
cmp dword [esi + 0x224], 0
jne 0x1001b60d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x228]
test ecx, ecx
je 0x1001b657
add ecx, 0x2710
cmp ecx, eax
ja 0x1001b8f6
cmp dword [esi + 0x214], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
mov dword [esi + 0x228], eax
jne 0x1001b75b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.100285e0
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1001b6b7
push 0x10045e18
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.10001f00
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x21a]
push edx
mov word [esp + 0x21c], cx
call fcn.100285e0
lea eax, [esp + 0x14]
push eax
push str._sFse_binFseRunLog.dll
lea ecx, [esp + 0x224]
push 0x104
push ecx
call fcn.10001f00
add esp, 0x1c
push 8
push 0
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x422]
push ecx
mov dword [esi + 0x214], edi
mov word [esp + 0x424], ax
call fcn.100285e0
push 0
push edi
push str.CheckInit_RunLog_Handle
push str.CSPLogger::InitRunLoger
push str.FseRun___S___s__value:_p__value:0x_08x
lea edx, [esp + 0x438]
push 0x3ff
push edx
call fcn.10001f00
add esp, 0x28
lea eax, [esp + 0x418]
push eax
call ebx
mov eax, dword [esi + 0x214]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001b867
cmp dword [esi + 0x220], 0
je 0x1001b785
cmp dword [esi + 0x224], 0
jne 0x1001b867
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FseGetRunLogHandle
push eax
call ebp
mov dword [esi + 0x220], eax
test eax, eax
jne 0x1001b7f6
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x426]
push edx
mov word [esp + 0x428], cx
call fcn.100285e0
add esp, 0xc
call edi
push eax
mov eax, dword [esi + 0x214]
push eax
push str.CheckInit_Load_FseGetRunLogHandle_Error
push str.CSPLogger::InitRunLoger
push str.FseRun___S___s__value:_p__value:0x_08x
lea ecx, [esp + 0x430]
push 0x3ff
push ecx
call fcn.10001f00
add esp, 0x1c
lea edx, [esp + 0x41c]
push edx
call ebx
mov eax, dword [esi + 0x214]
push str.FseWriteLog
push eax
call ebp
mov dword [esi + 0x224], eax
pop ebp
test eax, eax
jne 0x1001b867
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x422]
push edx
mov word [esp + 0x424], cx
call fcn.100285e0
add esp, 0xc
call edi
push eax
mov eax, dword [esi + 0x214]
push eax
push str.CheckInit_Load_mFnPFseWriteLog_Error
push str.CSPLogger::InitRunLoger
push str.FseRun___S___s__value:_p__value:0x_08x
lea ecx, [esp + 0x42c]
push 0x3ff
push ecx
call fcn.10001f00
add esp, 0x1c
lea edx, [esp + 0x418]
push edx
call ebx
mov eax, dword [esi + 0x220]
test eax, eax
je 0x1001b8de
cmp dword [esi + 0x224], 0
je 0x1001b8de
lea ecx, [esi + 8]
push ecx
call eax
xor edx, edx
push 0x7fe
mov dword [esi + 0x218], eax
push edx
lea eax, [esp + 0x426]
push eax
mov word [esp + 0x428], dx
call fcn.100285e0
add esp, 0x10
call edi
mov ecx, dword [esi + 0x218]
push eax
push ecx
push str.CheckInit_RunLog_Writer
push str.CSPLogger::InitRunLoger
push str.FseRun___S___s__value:_p__value:0x_08x
lea edx, [esp + 0x42c]
push 0x3ff
push edx
call fcn.10001f00
add esp, 0x1c
lea eax, [esp + 0x418]
push eax
call ebx
cmp dword [esi + 0x218], 0
pop edi
pop ebx
je 0x1001b8f6
cmp dword [esi + 0x224], 0
jne 0x1001b60d
mov ecx, dword [esp + 0xc10]
xor ecx, esp
xor eax, eax
call fcn.100269c5
add esp, 0xc14
ret