Function at 0x1000b080
Capabilities:
Delete directory
Get file attributes
Set current directory
Set file attributes

Disassembly:
mov eax, 0x1168
call fcn.10033810
mov eax, dword [esp + 0x1170]
push ebx
mov ebx, dword [esp + 0x1178]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0x4e60]
push 4
push 2
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [ebx + 0x4e60], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1000b2f4
push edi
push esi
call fcn.10007a60
mov edx, dword [esp + 0x1184]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.1000bc30
lea eax, [esp + 0x28]
push eax
call fcn.1000b4c0
add esp, 0x14
test eax, eax
je 0x1000b0fc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x17], 0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 1
lea edx, [esp + 0x18]
lea eax, [esp + 0x968]
push edx
push eax
call ebp
lea ecx, [esp + 0x18]
push ebx
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1184]
lea eax, [esp + 0x830]
push edx
push eax
push ecx
call fcn.1000abd0
add esp, 0x14
test eax, eax
je 0x1000b1c6
lea edx, [esp + 0x18]
push edx
push esi
call fcn.10007ac0
add esp, 8
test eax, eax
je 0x1000b157
mov esi, eax
jmp 0x1000b159
xor edi, edi
lea eax, [esp + 0x968]
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
test edi, edi
je 0x1000b1b6
lea edx, [esp + 0x18]
push ebx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x830]
push eax
push ecx
call fcn.1000acf0
add esp, 0x10
test eax, eax
je 0x1000b1b6
lea edx, [esp + 0x18]
push edx
push esi
call fcn.10007ac0
add esp, 8
test eax, eax
je 0x1000b1a1
mov esi, eax
jmp 0x1000b1a3
xor edi, edi
lea eax, [esp + 0x968]
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
test edi, edi
jne 0x1000b16c
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1000b1c6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.100046c0
push ebx
call fcn.10003050
add esp, 8
test eax, eax
jne 0x1000b2ed
mov edx, dword [esp + 0x1180]
push ebx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.1000ae90
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x1000b2ab
push 0x10042a0c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x1180]
mov ebx, eax
and eax, edx
test al, 7
je 0x1000b23b
and ebx, 0xfffffff8
lea ecx, [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test bl, 7
jne 0x1000b290
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1000b290
lea eax, [esp + 0x18]
lea ecx, [esp + 0x968]
push eax
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
push esi
call fcn.10007b50
add esp, 8
test eax, eax
je 0x1000b2c8
lea eax, [esp + 0x968]
push eax
push esi
call fcn.10007ac0
add esp, 8
test eax, eax
je 0x1000b2c6
mov ebx, dword [esp + 0x1184]
mov esi, eax
jmp 0x1000b2bd
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.10007b50
add esp, 8
test eax, eax
je 0x1000b2c8
mov ebx, dword [esp + 0x1184]
jmp 0x1000b2bd
lea edx, [esp + 0x18]
push edx
push esi
call fcn.10007b50
add esp, 8
test eax, eax
je 0x1000b2cf
test edi, edi
je 0x1000b2cf
jmp 0x1000b107
xor edi, edi
mov ebx, dword [esp + 0x1184]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x4e60], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1168
ret
mov edi, 1
jmp 0x1000b2cf
mov eax, edi
pop edi
mov dword [ebx + 0x4e60], ebp
pop esi
pop ebp
pop ebx
add esp, 0x1168
ret