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

Disassembly:
push 0x14
mov eax, 0x567e61
call fcn.0053da10
push dword [ebp + 8]
call fcn.004364d0
pop ecx
test eax, eax
je 0x437ea0
call fcn.00438647
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a80d
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402337
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f0c6
push 0x599b60
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00410e1f
test eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
setne bl
add ecx, 0xfffffff0
call fcn.00402722
test bl, bl
je 0x437de8
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.004171f0
push 3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a558
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x437e1d
lea ecx, [ebx - 0x10]
call fcn.00402722
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x437e9b
mov esi, str.________.___
push esi
call fcn.00538bc9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040b738
mov esi, dword [ebp - 0x14]
mov eax, esi
call fcn.004364b1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x437e4e
push esi
call edi
test eax, eax
je 0x437e8c
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 0x437e8c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea ecx, [ebx - 0x10]
call fcn.00402722
lea ecx, [esi - 0x10]
call fcn.00402722
xor eax, eax
inc eax
call fcn.0053dae8
ret
lea ecx, [ebx - 0x10]
call fcn.00402722
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402722
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040235d
push 3
pop esi
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0040a558
push 0x59f010
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040345a
mov ebx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00402722
inc bl
je 0x437efd
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 2
jg 0x437f48
lea ecx, [eax - 0x10]
call fcn.00402722
xor eax, eax
jmp 0x437e86
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x437f48
xor esi, esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, esi
jmp 0x437e86
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0040235d
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00438070
push 0x5c
push dword [ebp - 0x10]
call fcn.0053c0c5
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
jne 0x437f76
or eax, 0xffffffff
jmp 0x437f7b
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0040248f
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x10]
call fcn.00437d6e
pop ecx
test eax, eax
je 0x437fd3
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0040235d
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.00402722
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402722
jmp 0x437f36