Function at 0x437090
Capabilities:
Check if file exists
Delete file
Get disk information
Get file attributes

Disassembly:
push 0x14
mov eax, 0x567037
call fcn.0053cd20
push dword [ebp + 8]
call fcn.004357f2
pop ecx
test eax, eax
je 0x4371c2
call fcn.00437969
push eax
lea ecx, [ebp - 0x14]
call fcn.00402738
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040234c
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ee16
push 0x599b40
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00410a55
test eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
setne bl
add ecx, 0xfffffff0
call fcn.00402760
test bl, bl
je 0x43710a
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00416ccd
push 3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a56d
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x43713f
lea ecx, [ebx - 0x10]
call fcn.00402760
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x4371bd
mov esi, str.________.___
push esi
call fcn.00537ed9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040b74d
mov esi, dword [ebp - 0x14]
mov eax, esi
call fcn.004357d3
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x437170
push esi
call edi
test eax, eax
je 0x4371ae
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 0x4371ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea ecx, [ebx - 0x10]
call fcn.00402760
lea ecx, [esi - 0x10]
call fcn.00402760
xor eax, eax
inc eax
call fcn.0053cdf8
ret
lea ecx, [ebx - 0x10]
call fcn.00402760
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402760
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00402372
push 3
pop esi
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0040a56d
push 0x59ef90
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00403498
mov ebx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00402760
inc bl
je 0x43721f
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 2
jg 0x43726a
lea ecx, [eax - 0x10]
call fcn.00402760
xor eax, eax
jmp 0x4371a8
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a56d
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004024a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402760
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43726a
xor esi, esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
jmp 0x4371a8
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00402372
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00437392
push 0x5c
push dword [ebp - 0x10]
call fcn.0053b3d5
xor esi, esi
pop ecx
pop ecx
cmp eax, esi
jne 0x437298
or eax, 0xffffffff
jmp 0x43729d
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a56d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004024a4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402760
push dword [ebp - 0x10]
call 0xeccec890
push ebp
mov ebp, esp