Function at 0x601413f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6014b9c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.601045b0
mov edx, dword [0x6015b6f8]
xor edi, edi
mov ecx, 0x6015b6f8
mov dword [esp + 0x2c], edi
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0x1c]
push eax
push 0x6014df50
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
mov dword [esp + 0x28], edi
call fcn.60109f20
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
cmp eax, edi
mov byte [esp + 0x2c], 2
je 0x60141573
lea ebx, [ebx]
mov ebx, dword [esi - 0xc]
test ebx, ebx
je 0x601414b7
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
jge 0x6014149b
push edi
lea ecx, [esp + 0x14]
call fcn.601042f0
mov esi, dword [esp + 0x10]
test edi, edi
mov byte [ebx + esi], 0x5c
jl 0x6014158e
cmp edi, dword [esi - 8]
jg 0x6014158e
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.601044e0
mov esi, dword [esp + 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x1c]
push edx
push 0x6014df50
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.60109f20
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebp - 0x10]
cmp eax, edi
mov byte [esp + 0x2c], 3
je 0x60141545
mov edx, dword [edi + 0xc]
test edx, edx
lea ebx, [edi + 0xc]
jl 0x60141533
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x60141533
push eax
call fcn.60109070
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x6014152a
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x60141545
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.60104370
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60141568
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x60141470
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x60141598
test al, 0x10
je 0x60141598
mov edi, 1
jmp 0x6014159a
push 0x80070057
call fcn.601040a0
xor edi, edi
add ebp, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601415ba
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601415d9
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601415ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4