Function at 0x411c50
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get disk information
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x63c00c]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
push 0x9c40
xor esi, esi
call fcn.0045669c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41207c
push 0x9c40
push esi
push ebx
call fcn.0044f970
add esp, 0xc
push 0x9c40
call fcn.0045669c
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x412073
push 0x9c40
push esi
push eax
call fcn.0044f970
add esp, 0xc
push 0x9c40
call fcn.0045669c
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x412067
push 0x9c40
push esi
push eax
call fcn.0044f970
add esp, 0xc
push 0x2710
call fcn.0045669c
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
je 0x412067
push 0x2710
push esi
push edi
call fcn.0044f970
add esp, 0xc
push edi
push 0x1388
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x411d59
push dword [esp + 0x10]
call fcn.004533f0
add esp, 4
push ebx
call fcn.004533f0
add esp, 4
push edi
call fcn.004533f0
add esp, 4
lea eax, [esi + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test eax, eax
je 0x411d89
lea eax, [edi + 2]
mov edi, dword [esp + 0x24]
cmp word [eax - 2], 0
movzx edx, word [eax]
je 0x411d78
test dx, dx
jne 0x411d7d
inc esi
jmp 0x411d7d
test dx, dx
je 0x411d85
inc ecx
add eax, 2
cmp ecx, edi
jb 0x411d66
mov edi, dword [esp + 0xc]
shl esi, 2
push esi
call fcn.0045669c
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x411db8
push dword [esp + 0x10]
call fcn.004533f0
add esp, 4
push ebx
call fcn.004533f0
add esp, 4
push edi
jmp 0x412074
push esi
push 0
push eax
call fcn.0044f970
xor edx, edx
xor esi, esi
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x24], edx
jbe 0x411eb4
mov ecx, dword [esp + 0x18]
mov eax, 2
add ecx, 0xfffffffc
add edi, 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
sub eax, ecx
lfence
mov dword [esp + 0x28], eax
nop word [eax + eax]
cmp word [edi - 2], 0
movzx eax, word [edi]
je 0x411e99
test ax, ax
jne 0x411e9e
inc dword [esp + 0x14]
lea eax, [esi + ecx]
add dword [esp + 0x20], 4
mov esi, eax
mov dword [esp + 0x2c], eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x411e30
sub esi, ecx
sar esi, 1
lea eax, [esi*4 + 2]
push eax
call fcn.0045669c
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x30], eax
mov dword [ecx], eax
test eax, eax
je 0x412049
lea ecx, [esi*4 + 2]
push ecx
push 0
push eax
call fcn.0044f970
add esp, 0xc
lea eax, [esi + 2]
push esi
push dword [esp + 0x30]
push eax
push dword [esp + 0x3c]
call fcn.004538c5
mov esi, dword [esp + 0x38]
add esp, 0x10
mov ecx, dword [esp + 0xc]
add esi, edi
mov edx, dword [esp + 0x1c]
jmp 0x411e9e
test ax, ax
je 0x411eb0
inc edx
add edi, 2
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x24]
jb 0x411e00
mov edi, dword [esp + 0xc]
push edi
call fcn.004533f0
xor esi, esi
add esp, 4
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x14], esi
jbe 0x412011
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + esi*4]
mov dword [esp + 0x28], edi
test edi, edi
je 0x412004
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 2
je 0x411ef9
sub eax, 1
jne 0x411fe8
push 0x9c40
push 0
push ebx
call fcn.0044f970
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x9c40
push 0
push esi
call fcn.0044f970
add esp, 0xc
push str.___AIN
push edi
push 0x46c9bc
push ebx
call fcn.004025f0
push str.___AIN
push edi
push 0x46d850
push esi
call fcn.004025f0
push 0x250
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0044f970
add esp, 0x2c
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411fdd
mov edi, dword [esp + 0x34]
nop word [eax + eax]
push 0x9c40
push 0
push edi
call fcn.0044f970
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push ebx
push str._ws_ws
push edi
call fcn.004025f0
add esp, 0x10
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x250
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0044f970
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x411f70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [esp + 0x1c]
push edi
call fcn.004533f0
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [eax + esi*4], 0
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, eax
jb 0x411ed5
push dword [esp + 0x18]
call fcn.004533f0
add esp, 4
push ebx
call fcn.004533f0
add esp, 4
push dword [esp + 0x10]
call fcn.004533f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
lfence
call fcn.004533f0
add esp, 4
push ebx
call fcn.004533f0
add esp, 4
push dword [esp + 0xc]
jmp 0x412074
push dword [esp + 0x10]
call fcn.004533f0
add esp, 4
push ebx
call fcn.004533f0
add esp, 4
mov ecx, dword [esp + 0x28c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret