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

Disassembly:
push ebx
mov ebx, esp
test dword [esp], esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609588
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x80
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 3
mov eax, dword [edi]
mov esi, eax
jbe 0x45156e
cmp word [eax + 2], 0x3a
jne 0x45156e
add esi, 6
movzx edx, word [esi]
test dx, dx
je 0x4515e8
mov ecx, edx
cmp cx, 0x5c
je 0x451584
cmp cx, 0x2f
jne 0x4515d8
xor eax, eax
mov word [esi], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45159a
test al, 0x10
jne 0x4515d0
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4515d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
mov dword [ebp - 0x90], eax
cmp eax, 0xb7
jne 0x4517e1
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x451729
mov eax, 0x5c
mov word [esi], ax
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x451578
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4519ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x90], eax
cmp eax, 0xb7
je 0x45193c
mov edx, ecx
lea ecx, [ebp - 0x74]
call fcn.0044e3a0
mov esi, eax
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.0044f200
push 0x6797d4
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00446fe0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
call fcn.0044e0f0
lea eax, [ebp - 0x5c]
mov ecx, 0x6a7e6c
push eax
call fcn.004470a0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4516be
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4516b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4516f2
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4516e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4518f3
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4518e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
jmp 0x4518e9
mov edx, dword [edi]
lea ecx, [ebp - 0x5c]
call fcn.0044e3a0
push str._exists_and_is_not_a_directory
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00446fe0
mov ecx, 0x6a7e6c
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.004470a0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4517aa
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4517a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a0d
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4519e9
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4519df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a0d
jmp 0x4519df
lea ecx, [ebp - 0x74]
call fcn.0044e3a0
mov esi, eax
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0044f200
push 0x6797d4
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00446fe0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
call fcn.0044e0f0
lea eax, [ebp - 0x5c]
mov ecx, 0x6a7e6c
push eax
call fcn.004470a0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x45188b
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451881
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4518bf
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4518b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4518f3
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4518e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4519e9
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4519df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
jmp 0x4519df
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4519ed
mov edx, dword [edi]
lea ecx, [ebp - 0x8c]
call fcn.0044e3a0
push str._exists_and_is_not_a_directory
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.00446fe0
mov ecx, 0x6a7e6c
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
push eax
movq qword [ebp - 0x34], xmm0
call fcn.004470a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4519cb
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4519c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451a12
push edx
push ecx
call fcn.005df326
add esp, 8
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4519e9
mov ecx, dword [ebp - 0x8c]
inc edx
jmp 0x451915
push edx
push ecx
call fcn.005df326
add esp, 8
xor al, al
jmp 0x4519ef
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005e4e95
call fcn.005e4e95
int3