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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d016
mov eax, dword fs:[0]
push eax
mov eax, 0x71ec
call fcn.0051dcc0
mov eax, dword [0x572844]
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.00494ec0
test al, al
je 0x483791
push 0x800
lea eax, [ebp - 0x1010]
push eax
push esi
call fcn.00494910
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 0x48342c
cmp eax, 5
jne 0x483791
movzx eax, word [esi]
push eax
push 0x55212c
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00402c90
movzx eax, word [ebp - 0x1010]
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], 0x54266c
mov dword [ebp - 0x2058], 0x54266c
mov dword [ebp - 0x2054], 0x54266c
mov dword [ebp - 0x2050], 0x54266c
mov dword [ebp - 0x204c], 0x54266c
mov dword [ebp - 0x2048], 0x54266c
mov dword [ebp - 0x2044], 0x54266c
mov dword [ebp - 0x2040], 0x54266c
mov dword [ebp - 0x2014], 0x8c
mov dword [ebp - 0x203c], eax
mov dword [ebp - 0x2018], 1
call fcn.004b2040
lea ecx, [ebp - 0x20bc]
call fcn.004b03b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x20bc]
call fcn.004b0450
push 2
push 0
push 2
lea eax, [ebp - 0x20bc]
push eax
lea ecx, [ebp - 0x71f8]
call fcn.004ac1d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3104]
push eax
lea ecx, [ebp - 0x71f8]
mov dword [ebp - 0x20f4], 0
mov dword [ebp - 0x20f0], 0
mov dword [ebp - 0x20ec], 0
mov dword [ebp - 0x20e8], 0
mov dword [ebp - 0x20e4], 0
mov dword [ebp - 0x20e0], 0
call fcn.004acee0
test eax, eax
jne 0x48374a
lea ecx, [ecx]
mov ax, word [ebp - 0x3104]
cmp ax, word [esi]
jne 0x48374a
cmp word [ebp - 0x3102], 0x3a
jne 0x48374a
push 0
lea eax, [ebp - 0x3104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4835ec
push 0x800
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x3104]
push eax
call fcn.00494c80
test al, al
je 0x4835ec
push 0
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp - 0x20f8], 0
lea eax, [ebp - 0x3104]
push eax
je 0x48363c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x483730
push 0x800
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x3104]
push eax
call fcn.00494c80
test al, al
je 0x483730
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x483730
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
jne 0x483679
push 0x800
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x3104]
push eax
call fcn.00494c80
test al, al
je 0x483679
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test bl, bl
jne 0x483730
xor eax, eax
mov dword [ebp - 0x2054], 0x54266c
mov dword [ebp - 0x203c], eax
lea ecx, [ebp - 0x205c]
mov dword [ebp - 0x2038], eax
mov dword [ebp - 0x2034], eax
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x205c], eax
lea eax, [ebp - 0x3104]
mov dword [ebp - 0x2050], 0x54266c
mov dword [ebp - 0x204c], 0x54266c
mov dword [ebp - 0x2048], 0x54266c
mov dword [ebp - 0x2044], 0x54266c
mov dword [ebp - 0x2040], 0x54266c
mov dword [ebp - 0x2014], 0xe
mov dword [ebp - 0x2058], eax
mov dword [ebp - 0x201c], 2
call fcn.004b2040
mov ecx, 0x5b68fc
call fcn.0047b860
lea eax, [ebp - 0x3104]
push eax
lea ecx, [ebp - 0x71f8]
call fcn.004acee0
test eax, eax
je 0x483590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x71f8]
call fcn.004ac2c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20bc]
test ecx, ecx
je 0x483791
cmp byte [ebp - 0x20ac], 0
je 0x483788
mov eax, dword [ebp - 0x20b4]
add eax, eax
push eax
push ecx
call fcn.004ad810
mov ecx, dword [ebp - 0x20bc]
push ecx
call fcn.00525b95
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.0051dca8
mov esp, ebp
pop ebp
ret 4