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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c26e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4f7458]
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 0x446991
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 0x4469cf
push 0x4d157c
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.00403de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov eax, dword [ebp - 0x10]
jmp 0x446c0f
push 0x4c8d8c
lea ecx, [ebp + 8]
call fcn.0040f690
push 0x4c8d8c
lea ecx, [ebp + 0xc]
call fcn.0040f690
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 0x446aa0
push 0x4d156c
lea ecx, [ebp - 0x14]
call fcn.00411290
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.0040f890
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.00403de0
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.00403de0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov eax, dword [ebp - 0x1c]
jmp 0x446c0f
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 0x446b42
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 0x446b42
push 0x4d155c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040f970
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.00402470
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov eax, dword [ebp - 0x24]
jmp 0x446c0f
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.00411c60
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.00411c60
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.004460a0
add esp, 0xc
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret