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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482a11
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xa
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.00402e80
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
cmp dword [esi - 4], 1
mov byte [ebp - 4], 1
jle 0x457736
push dword [esi - 0xc]
lea ecx, [ebp - 0x4c]
call fcn.004037b0
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4577ab
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4577ab
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.0040d3f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], eax
mov edi, dword [eax]
push esi
lea ecx, [eax + 8]
mov byte [ebp - 4], 2
call fcn.00403ac0
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
mov dword [ecx + 4], eax
mov dword [ecx], 0
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45779a
mov dword [eax], ecx
jmp 0x45779d
mov dword [ebp - 0x2c], ecx
push esi
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x457741
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4578e0
cmp eax, dword [esi - 8]
jg 0x4578e0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x24], ecx
je 0x457857
nop word [eax + eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004584c0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 0
call fcn.00458b60
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00458bf0
mov edi, dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x45789c
lea ecx, [ebp - 0x48]
call fcn.00458b90
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x457851
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x24], 0
jne 0x4577e0
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457875
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
call fcn.0042f470
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4578b4
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
call fcn.00458b90
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4578d8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
jmp 0x457859
push 0x80070057
call fcn.004039a0
int3