Function at 0x44f5a0
Capabilities:
Check if file exists
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb440
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x34], ecx
xor edx, edx
cmp dword [ebp - 0x34], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x44f601
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x38], edx
xor eax, eax
cmp dword [ebp - 0x38], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x44f63f
push 0x4de820
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
call fcn.004029d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov eax, dword [ebp - 0x10]
jmp 0x44f87f
push 0x4d1934
lea ecx, [ebp + 8]
call fcn.0040ef90
push 0x4d1934
lea ecx, [ebp + 0xc]
call fcn.0040ef90
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44f710
push 0x4de810
lea ecx, [ebp - 0x14]
call fcn.00412290
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x18]
sub eax, 0x10
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.004029d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
call fcn.004029d0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov eax, dword [ebp - 0x1c]
jmp 0x44f87f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44f7b2
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], ecx
push 0
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44f7b2
push 0x4de800
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.004129d0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov eax, dword [ebp - 0x24]
jmp 0x44f87f
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
add eax, 0x10
mov ecx, dword [ebp - 0xac]
mov dword [ecx], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 3
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
add eax, 0x10
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 4], 1
call fcn.0044ed10
add esp, 0xc
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret