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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x590], eax
cmp dword [esi + 0x10], 0x104
mov byte [ebp - 0x594], al
mov dword [ebp - 0x598], ebx
jae 0x4489cb
cmp dword [edi + 0x10], 0x104
jae 0x4489cb
push edi
lea ecx, [ebp - 0x34]
call fcn.00445930
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4487ad
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00449550
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.00445a50
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
cmp dword [ebp - 0x24], ebx
je 0x4487e8
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00449550
mov eax, dword [ebp - 0x84]
add esp, 8
test eax, eax
je 0x4489a3
cmp dword [ebp - 0x24], eax
jb 0x448768
lea ecx, [ebp - 0x94]
push ecx
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.00449840
test eax, eax
je 0x4489a3
cmp byte [ebp - 0x590], bl
mov ecx, 3
mov eax, 1
cmovne eax, ecx
lea ecx, [ebp - 0x338]
push eax
push dword [ebp - 0x594]
push esi
call fcn.00456530
push esi
call fcn.00449730
add esp, 4
test al, al
jne 0x448805
lea ecx, [ebp - 0x338]
xor bl, bl
call fcn.004566d0
jmp 0x4489a5
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.004462c0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00449550
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.00445a50
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
lea ecx, [ebp - 0x64]
call fcn.00407ff0
cmp dword [ebp - 0x24], ebx
jne 0x44872b
lea ecx, [ebp - 0x34]
xor bl, bl
call fcn.00407ff0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x4c]
call fcn.00445930
push esi
call fcn.00449190
add esp, 4
mov byte [ebp - 0x58a], al
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x589], 1
push esi
call fcn.00445930
cmp byte [ebp - 0x590], bl
je 0x44885e
push edi
call fcn.00449190
add esp, 4
test al, al
je 0x44885e
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.004462c0
push eax
lea ecx, [ebp - 0x7c]
call fcn.00445a50
lea ecx, [ebp - 0x64]
call fcn.00407ff0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x3c], 0
je 0x448974
push edi
lea ecx, [ebp - 0x1c]
call fcn.00445930
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00445b10
test al, al
je 0x44889f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00445e70
test al, al
je 0x448997
cmp byte [ebp - 0x58a], 0
lea eax, [ebp - 0x1c]
je 0x4488e4
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4488c6
shr eax, 4
and al, 1
jne 0x44890f
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x44890f
test bl, 4
je 0x448908
and ebx, 0xfffffffb
jmp 0x4488fd
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004489e0
add esp, 8
test al, al
jne 0x44890f
test bl, 8
je 0x448908
and ebx, 0xfffffff7
lea ecx, [ebp - 0x648]
call fcn.00447510
mov byte [ebp - 0x589], 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x338]
call fcn.00456850
push eax
lea ecx, [ebp - 0x4c]
call fcn.00445a50
lea ecx, [ebp - 0x64]
call fcn.00407ff0
cmp dword [ebp - 0x3c], 0
je 0x44895f
lea eax, [ebp - 0x588]
push eax
lea ecx, [ebp - 0x338]
call fcn.00456750
mov ecx, eax
call fcn.00456840
lea ecx, [ebp - 0x588]
mov byte [ebp - 0x58a], al
call fcn.00463ee0
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
cmp byte [ebp - 0x589], 0
jne 0x448864
mov bl, byte [ebp - 0x589]
lea ecx, [ebp - 0x7c]
call fcn.00407ff0
lea ecx, [ebp - 0x4c]
call fcn.00407ff0
lea ecx, [ebp - 0x338]
call fcn.004566d0
jmp 0x4489a5
lea ecx, [ebp - 0x1c]
xor bl, bl
call fcn.00407ff0
jmp 0x44897a
xor bl, bl
lea ecx, [ebp - 0x94]
call fcn.00407ff0
lea ecx, [ebp - 0x34]
call fcn.00407ff0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret