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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0xe0]
add eax, 4
push eax
lea ecx, [ebp - 0x10c]
call fcn.004eab50
mov dword [ebp - 0xf4], 0
mov ecx, dword [ebp - 0xe0]
add ecx, 0x2c
call fcn.0040d3c0
push eax
call fcn.00641e0e
add esp, 4
add eax, 1
mov dword [ebp - 0xf0], eax
xor ecx, ecx
mov eax, dword [ebp - 0xf0]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00613615
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xf0]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xe4]
push edx
call fcn.0063a460
add esp, 0xc
mov ecx, dword [ebp - 0xe0]
add ecx, 0x2c
call fcn.0040d3c0
push eax
mov eax, dword [ebp - 0xf0]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.0053cc10
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x557286
push 0
mov ecx, dword [ebp - 0xe4]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x557422
xor eax, eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xc8
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.0063a460
add esp, 0xc
movzx eax, word [ebp - 0xd0]
push eax
movzx ecx, word [ebp - 0xd2]
push ecx
movzx edx, word [ebp - 0xd4]
push edx
movzx eax, word [ebp - 0xd6]
push eax
movzx ecx, word [ebp - 0xda]
push ecx
movzx edx, word [ebp - 0xdc]
push edx
push 0x69fefc
push 0x400
lea eax, [ebp - 0xcc]
push eax
call fcn.005577e0
add esp, 0x24
mov dword [ebp - 0xe8], 0
push 0x69ff3c
mov ecx, dword [ebp - 0xe0]
add ecx, 0x2c
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00643e81
add esp, 0xc
cmp dword [ebp - 0xe8], 0
je 0x557422
mov dword [ebp - 0xf4], 1
mov edx, dword [ebp - 0xe0]
cmp dword [edx + 0x30], 0
je 0x557399
lea eax, [ebp - 0xcc]
push eax
push 0x69ff40
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00557870
add esp, 0xc
mov edx, dword [ebp - 0xe0]
mov dword [edx + 0x30], 0
mov ecx, dword [ebp - 0xe0]
add ecx, 0x20
call fcn.0043a3c0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xec], 0
jmp 0x5573c8
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [ebp - 0xfc]
jge 0x557404
mov edx, dword [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0xe0]
add ecx, 0x20
call fcn.0043ba60
mov ecx, eax
call fcn.0040d3c0
push eax
mov eax, dword [ebp - 0xe8]
push eax
call fcn.00557870
add esp, 8
jmp 0x5573b9
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.0064d42a
add esp, 4
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00643f54
add esp, 4
cmp dword [ebp - 0xe4], 0
je 0x557446
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.0061361e
add esp, 4
mov ecx, dword [ebp - 0xe0]
call fcn.00557160
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x104], edx
lea ecx, [ebp - 0x10c]
call fcn.004ead20
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret