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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73a749
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], edx
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0
cmp dword [0x83ce48], 0
jne 0x45077e
push 0x3a0
call fcn.006f4f3d
mov esi, eax
push 2
mov dword [ebp - 0x74], esi
mov dword [esi], vtable.XLDownloader.0
lea eax, [esi + 0x36c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x20c], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x25c], 0
mov dword [esi + 0x284], 0
mov dword [esi + 0x2ac], 0
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x2fc], 0
mov dword [esi + 0x324], 0
mov dword [esi + 0x354], 0
push eax
mov dword [esi + 0x360], 0
mov dword [esi + 0x364], 0
mov dword [esi + 0x368], 0
call fcn.00517b28
add esp, 0xc
mov dword [esi + 0x358], 0
mov dword [esi + 0x32c], 0
lea ecx, [esi + 0x35c]
mov dword [esi + 0x328], 0
mov eax, 1
xchg dword [ecx], eax
mov dword [0x83ce48], esi
lea eax, [ebp - 0x58]
push eax
call fcn.004f94b0
push 5
push str.Libs_
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00460700
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x7c], 3
call fcn.0044bf40
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x450813
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4509cb
cmp dword [0x83ce48], eax
jne 0x45096c
push 0x3a0
call fcn.006f4f3d
mov esi, eax
push 2
mov dword [ebp - 0x74], esi
mov dword [esi], vtable.XLDownloader.0
lea eax, [esi + 0x36c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x20c], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x25c], 0
mov dword [esi + 0x284], 0
mov dword [esi + 0x2ac], 0
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x2fc], 0
mov dword [esi + 0x324], 0
mov dword [esi + 0x354], 0
push eax
mov dword [esi + 0x360], 0
mov dword [esi + 0x364], 0
mov dword [esi + 0x368], 0
call fcn.00517b28
add esp, 0xc
mov dword [esi + 0x358], 0
mov dword [esi + 0x32c], 0
lea eax, [esi + 0x35c]
mov dword [esi + 0x328], 0
mov ecx, 1
xchg dword [eax], ecx
mov dword [0x83ce48], esi
lea eax, [ebp - 0x58]
push eax
call fcn.004f94b0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x45097f
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x450993
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
lea ecx, [ebp - 0x58]
call fcn.0044bf40
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x74], edi
jb 0x4509b4
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
push eax
call esi
test eax, eax
jne 0x4509c6
push eax
push dword [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp - 0x74]
call esi
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x28], 0
lea esi, [eax + 0x18]
je 0x450a7b
mov edx, dword [eax + 0xd8]
lea ecx, [ebp - 0x70]
call fcn.004b5d50
push str..png
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.004607a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
add esp, 4
cmp ecx, eax
je 0x450a35
call fcn.0044bf40
mov eax, dword [ebp - 0x78]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x58]
call fcn.0044bf40
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0044bf40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00460700
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x450a7b
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x450a71
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0044bdc0
lea ecx, [ebp - 0x40]
call fcn.0044bf40
lea ecx, [ebp - 0x28]
call fcn.0044bf40
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.006f4f1e
mov esp, ebp
pop ebp
ret