Function at 0x42adb1
Capabilities:
Check if file exists
Create directory
Delete file
Get disk information
Get file attributes

Disassembly:
push 0x14
mov eax, 0x55684c
call fcn.0052fa89
push dword [ebp + 8]
call fcn.00429758
pop ecx
test eax, eax
je 0x42aee3
call fcn.0042b589
push eax
lea ecx, [ebp - 0x14]
call fcn.0040217f
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401d89
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406fff
push 0x5881b8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00408932
test eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
setne bl
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x42ae2b
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040d76d
push 3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403286
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x42ae60
lea ecx, [ebx - 0x10]
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x42aede
mov esi, str.________.___
push esi
call fcn.0052ba99
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00404353
mov esi, dword [ebp - 0x14]
mov eax, esi
call fcn.00429739
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42ae91
push esi
call edi
test eax, eax
je 0x42aecf
push 0
push 2
push 2
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42aecf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea ecx, [ebx - 0x10]
call fcn.004021a7
lea ecx, [esi - 0x10]
call fcn.004021a7
xor eax, eax
inc eax
call fcn.0052fb61
ret
lea ecx, [ebx - 0x10]
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.004021a7
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401daf
push 3
pop esi
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.00403286
push 0x58c31c
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004028db
mov ebx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.004021a7
inc bl
je 0x42af40
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 2
jg 0x42af8b
lea ecx, [eax - 0x10]
call fcn.004021a7
xor eax, eax
jmp 0x42aec9
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403286
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42af8b
xor esi, esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
jmp 0x42aec9
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00401daf
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0042b0b3
push 0x5c
push dword [ebp - 0x10]
call fcn.0052c71c
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
jne 0x42afb9
or eax, 0xffffffff
jmp 0x42afbe
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403286
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00401ee1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x10]
call fcn.0042adb1
pop ecx
test eax, eax
je 0x42b016
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00401daf
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x42af79