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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011cc2
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x440], eax
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
mov dword [ebp - 4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
mov byte [ebp - 4], 1
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x424], edi
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
mov byte [ebp - 4], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x428], esi
mov eax, dword [0x100200e4]
mov ecx, 0x100200e4
mov byte [ebp - 4], 4
call dword [eax + 0xc]
mov dword [ebp - 0x43c], eax
add eax, 0x10
mov dword [ebp - 0x448], eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
mov byte [ebp - 4], 5
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0x438]
test edx, edx
je 0x1000c238
test ebx, ebx
je 0x1000c238
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c1f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x428]
call fcn.10002fc0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c211
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x424]
call fcn.10002fc0
mov esi, dword [ebp - 0x428]
jmp 0x1000c305
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.1000c4f0
add esp, 8
cmp eax, 1
jne 0x1000c30b
test ebx, ebx
jne 0x1000c27c
push dword [0x10020068]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x424]
push str._s_s
push eax
call fcn.100030e0
add esp, 0x10
jmp 0x1000c29d
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c281
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x424]
call fcn.10002fc0
mov edx, dword [ebp - 0x438]
test edx, edx
jne 0x1000c2c4
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x428]
push str._sLog_
push eax
call fcn.100030e0
add esp, 0xc
jmp 0x1000c2ec
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c2d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x428]
call fcn.10002fc0
mov esi, dword [ebp - 0x428]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c305
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [ebp - 0x424]
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x414]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
mov ebx, dword [ebp - 0x444]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
push ebx
push esi
lea eax, [ebp - 0x434]
push str._s_s__02u_02u_02u_02u_02u_02u_03u.dmp
push eax
call fcn.100030e0
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x414]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
push ebx
push esi
lea eax, [ebp - 0x42c]
push str._s_s__02u_02u_02u_02u_02u_02u_03u.fed
push eax
call fcn.100030e0
add esp, 0x58
call fcn.1000c590
push 0x10020d90
lea eax, [ebp - 0x430]
push 0x1001a140
push eax
call fcn.100030e0
mov eax, dword [ebp - 0x440]
add esp, 0xc
test eax, eax
jne 0x1000c3fa
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, dword [ebp - 0x430]
push ebx
push dword [ebp - 0x42c]
mov ecx, 0x10020db0
push dword [ebp - 0x434]
push edi
call fcn.1000c910
jmp 0x1000c407
mov ebx, dword [ebp - 0x430]
push ebx
push edi
push dword [ebp + 8]
call eax
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 4
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000c428
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c448
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c465
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c482
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000c4a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000c4c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret