Function at 0x10002660
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004207b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [vtable._BaseModule::CCriticalSection.0]
push 0x10055f0c
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - vtable._BaseModule::CCriticalSection.0], 0x10055f0c
call dword [eax]
mov dword [ebp - 4], 0
mov esi, dword [0x10055f34]
mov dword [ebp - 0xf8], 0
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100026e0
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
inc esi
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001f977
add esp, 4
add esi, esi
mov edi, eax
mov dword [ebp - 0xfc], edi
push esi
push 0
push edi
call fcn.10023f50
add esp, 0xc
shr esi, 1
je 0x10002736
push ecx
push dword [0x10055f34]
mov edx, esi
push ecx
mov ecx, edi
call fcn.10001440
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
jne 0x10002753
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
call esi
test eax, eax
je 0x10002881
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xf0], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xc8
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.10023f50
movzx eax, word [ebp - 0xe4]
add esp, 0xc
push eax
movzx eax, word [ebp - 0xe6]
push eax
movzx eax, word [ebp - 0xe8]
push eax
movzx eax, word [ebp - 0xea]
push eax
movzx eax, word [ebp - 0xee]
push eax
movzx eax, word [ebp - 0xf0]
push eax
push 0x1004e678
lea eax, [ebp - 0xe0]
push 0x400
push eax
call fcn.10002060
add esp, 0x24
push 0x1004e6b8
push dword [0x10055f34]
call fcn.10029d86
mov ecx, eax
add esp, 8
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x10002881
cmp dword [0x10055f38], 0
mov dword [ebp - 0xf8], 1
je 0x1000282f
lea eax, [ebp - 0xe0]
push eax
push str._r_n_Start_Log:_s__n
push ecx
call fcn.10003240
mov ecx, dword [ebp - 0xf4]
add esp, 0xc
mov dword [0x10055f38], 0
mov edi, dword [0x10055f2c]
xor esi, esi
mov eax, dword [0x10055f28]
sub edi, eax
sar edi, 2
test edi, edi
jle 0x10002863
push dword [eax + esi*4]
push ecx
call fcn.10003240
inc esi
add esp, 8
cmp esi, edi
jge 0x10002863
mov eax, dword [0x10055f28]
mov ecx, dword [ebp - 0xf4]
jmp 0x10002845
mov esi, dword [ebp - 0xf4]
push esi
call fcn.10029f2b
add esp, 4
push esi
call fcn.10029ffd
mov edi, dword [ebp - 0xfc]
add esp, 4
test edi, edi
je 0x1000288e
push edi
call fcn.1001ad0f
add esp, 4
mov ecx, 0x10055f08
call fcn.100025d0
mov dword [ebp - 4], 1
mov ecx, dword [vtable._BaseModule::CCriticalSection.0]
push 0x10055f0c
call dword [ecx + 4]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001f332
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret