Function at 0x4297d0
Capabilities:
Delete directory
Delete file
Get disk information
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af7b
mov eax, dword fs:[0]
push eax
mov eax, 0x7238
call fcn.00466a00
mov eax, dword [0x48d1f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0043c1b0
test al, al
je 0x429bad
push 0x800
lea eax, [ebp - 0x1010]
push eax
push esi
call fcn.0043bc60
movzx eax, word [ebp - 0x1010]
lea ecx, [ebp - 0x1010]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x42984c
cmp eax, 5
jne 0x429bad
movzx eax, word [esi]
push eax
push str._c:
lea eax, [ebp - 0x2010]
push 0x800
push eax
call fcn.00407ec0
movzx eax, word [ebp - 0x2010]
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x2038], ecx
mov dword [ebp - 0x2034], ecx
mov dword [ebp - 0x2030], ecx
mov dword [ebp - 0x202c], ecx
mov dword [ebp - 0x2028], ecx
mov dword [ebp - 0x2024], ecx
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 0x201c], ecx
lea ecx, [ebp - 0x205c]
mov dword [ebp - 0x205c], 0x47d694
mov dword [ebp - 0x2058], 0x47d694
mov dword [ebp - 0x2054], 0x47d694
mov dword [ebp - 0x2050], 0x47d694
mov dword [ebp - 0x204c], 0x47d694
mov dword [ebp - 0x2048], 0x47d694
mov dword [ebp - 0x2044], 0x47d694
mov dword [ebp - 0x2040], 0x47d694
mov dword [ebp - 0x2014], 0x8c
mov dword [ebp - 0x203c], eax
mov dword [ebp - 0x2018], 1
call fcn.00458680
lea ecx, [ebp - 0x2108]
call fcn.00456b00
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2108]
call fcn.00456b50
push 2
push 0
push 2
lea eax, [ebp - 0x2108]
push eax
lea ecx, [ebp - 0x7244]
call fcn.00452aa0
lea eax, [ebp - 0x3150]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x7244]
mov dword [ebp - 0x2140], 0
mov dword [ebp - 0x213c], 0
mov dword [ebp - 0x2138], 0
mov dword [ebp - 0x2134], 0
mov dword [ebp - 0x2130], 0
mov dword [ebp - 0x212c], 0
call fcn.00453790
test eax, eax
jne 0x429b6a
lea ecx, [ecx]
mov ax, word [ebp - 0x3150]
cmp ax, word [esi]
jne 0x429b6a
cmp word [ebp - 0x314e], 0x3a
jne 0x429b6a
push 0
lea eax, [ebp - 0x3150]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429a0c
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3150]
push eax
call fcn.0043bf70
test al, al
je 0x429a0c
push 0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp - 0x2144], 0
lea eax, [ebp - 0x3150]
push eax
je 0x429a5c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x429b50
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3150]
push eax
call fcn.0043bf70
test al, al
je 0x429b50
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x429b50
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
jne 0x429a99
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3150]
push eax
call fcn.0043bf70
test al, al
je 0x429a99
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test bl, bl
jne 0x429b50
xor eax, eax
mov dword [ebp - 0x20a0], 0x47d694
mov dword [ebp - 0x2088], eax
lea ecx, [ebp - 0x20a8]
mov dword [ebp - 0x2084], eax
mov dword [ebp - 0x2080], eax
mov dword [ebp - 0x207c], eax
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x2074], eax
mov dword [ebp - 0x2070], eax
mov dword [ebp - 0x206c], eax
mov dword [ebp - 0x2064], eax
mov dword [ebp - 0x20a8], eax
lea eax, [ebp - 0x3150]
mov dword [ebp - 0x209c], 0x47d694
mov dword [ebp - 0x2098], 0x47d694
mov dword [ebp - 0x2094], 0x47d694
mov dword [ebp - 0x2090], 0x47d694
mov dword [ebp - 0x208c], 0x47d694
mov dword [ebp - 0x2060], 0xe
mov dword [ebp - 0x20a4], eax
mov dword [ebp - 0x2068], 2
call fcn.00458680
mov ecx, 0x49d17c
call fcn.00421c60
lea eax, [ebp - 0x3150]
push eax
lea ecx, [ebp - 0x7244]
call fcn.00453790
test eax, eax
je 0x4299b0
lea ecx, [ebp - 0x7244]
call fcn.00452b80
mov ecx, dword [ebp - 0x2108]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x429bad
cmp byte [ebp - 0x20f8], 0
je 0x429ba4
mov eax, dword [ebp - 0x2100]
add eax, eax
push eax
push ecx
call fcn.00454020
mov ecx, dword [ebp - 0x2108]
push ecx
call fcn.0046a8f3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004669f1
mov esp, ebp
pop ebp
ret 4