Function at 0x1000dd40
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071a01
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.10008210
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.1004ee40
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.1004ee40
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x1000dde4
mov byte [ebp - 0x231], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100080b0
mov al, byte [ebp - 0x231]
jmp 0x1000e051
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str._sTrustAgentlogsqmsandboxmodule._s_
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.1000e560
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000de2a
push 0
lea ecx, [ebp - 0x114]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x230]
call fcn.10008080
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.10007f30
mov byte [0x100958a0], 0
mov dword [0x10095654], 0xa
lea ecx, [ebp - 0x230]
call fcn.10007db0
push eax
push 0
call fcn.10006150
add esp, 8
push 0
lea ecx, [ebp - 0x25c]
call fcn.1000d860
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x248], 0xa
mov dword [ebp - 0x244], 0x64
push 0x20119
push 0x100763d4
push 0x80000002
lea ecx, [ebp - 0x25c]
call fcn.1000e070
test eax, eax
jne 0x1000df3e
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x238]
push ecx
push str.log_level
lea ecx, [ebp - 0x25c]
call fcn.1000e110
test eax, eax
jne 0x1000def0
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], edx
lea eax, [ebp - 0x238]
push eax
push str.max_save_days
lea ecx, [ebp - 0x25c]
call fcn.1000e110
test eax, eax
jne 0x1000df17
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
lea edx, [ebp - 0x238]
push edx
push str.max_save_file
lea ecx, [ebp - 0x25c]
call fcn.1000e110
test eax, eax
jne 0x1000df3e
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x240]
mov dword [0x10095650], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006b50
add esp, 4
push 0x104
call fcn.10055e08
add esp, 4
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x1000dfd0
lea eax, [ebp - 0x114]
push eax
push 0x104
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.10051e00
add esp, 0xc
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
push ecx
push 0x1000e210
lea ecx, [ebp - 0x264]
call fcn.1000c9b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.1000ec10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1000da70
push str.Log_init.
push 0xa6
push str.e:jenkinsworkspace_skylar_win_clientdataisoci.ztsandboxpluginincludeglogloginit.cpp
lea ecx, [ebp - 0x26c]
call fcn.10005640
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x250]
call fcn.10005c50
push eax
call fcn.1000ade0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.10005be0
mov byte [ebp - 0x232], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.1000da50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100080b0
mov al, byte [ebp - 0x232]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret