Function at 0x1002430f
Capabilities:
Create directory
Delete file
Get disk information
Get disk size
Set file attributes

Disassembly:
push 0x1d4
mov eax, 0x1004405b
call fcn.1002a6aa
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
lea edi, [ebp - 0x1c4]
mov dword [ebp - 0x1a0], eax
call fcn.10023da2
mov eax, dword [eax + 0x14]
pop ecx
push 0
test eax, eax
push 1
mov esi, edi
seta bl
call fcn.10001e8c
test bl, bl
je 0x1002435c
mov dword [0x10058a14], 0x1395
jmp 0x1002458a
mov bl, byte [ebp + 8]
lea esi, [ebp - 0x199]
mov byte [ebp - 0x199], 0
call fcn.10023675
test al, al
je 0x10024580
xor ebx, ebx
cmp byte [ebp - 0x199], bl
je 0x10024580
movsx ax, byte [ebp + 8]
mov word [ebp - 0x20], ax
push 0x3a
pop eax
mov word [ebp - 0x1e], ax
push 0x5c
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0xfe
mov word [ebp - 0x160], ax
lea eax, [ebp - 0x15e]
push ebx
push eax
call fcn.1002bdc0
add esp, 0xc
xor eax, eax
push 0x3e
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push ebx
push eax
call fcn.1002bdc0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push 0x80
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10024421
push str.ntfs
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10024421
mov dword [0x10058a14], 0x1393
jmp 0x1002458a
movsx eax, byte [ebp + 8]
push str.uvscache
push eax
push str._c:_ls
lea ecx, [ebp - 0x198]
call fcn.1001418c
add esp, 0xc
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x17c]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push eax
call fcn.10023e7b
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x180], 8
mov eax, dword [ebp - 0x194]
jae 0x10024472
lea eax, [ebp - 0x194]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x180], 8
mov eax, dword [ebp - 0x194]
jae 0x10024490
lea eax, [ebp - 0x194]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 6
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1a8], ebx
lea edi, [ebp - 0x1a4]
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x1a8]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1000a7c3
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x100244e1
mov eax, dword [eax + 4]
jmp 0x100244e4
add eax, 4
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1a4]
shrd ecx, edx, 0x15
push ecx
mov ecx, dword [ebp - 0x1a0]
push eax
shr edx, 0x15
call fcn.10026b34
push ebx
push 1
lea ecx, [ebp - 0x1e0]
mov edi, eax
call fcn.10001d94
mov eax, dword [ebp - 0x178]
cmp edi, ebx
jne 0x10024555
cmp dword [ebp - 0x164], 8
jae 0x1002452d
lea eax, [ebp - 0x178]
push 6
push eax
call esi
xor edi, edi
inc edi
push ebx
push 1
lea esi, [ebp - 0x17c]
call fcn.10001e8c
push ebx
push 1
lea esi, [ebp - 0x198]
call fcn.10001e8c
mov eax, edi
jmp 0x1002458c
cmp dword [ebp - 0x164], 8
jae 0x10024564
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov dword [0x10058a14], 0x1396
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x10024535
mov dword [0x10058a14], 0x1391
xor eax, eax
call fcn.1002a72d
ret 8