Function at 0xed70b9
Capabilities:
Create directory
Delete directory
Delete file

Disassembly:
mov eax, 0xf012f1
call fcn.00eed8c4
mov eax, 0x3094
call fcn.00eed9c0
push ebx
xor ebx, ebx
inc ebx
cmp byte [0xf10043], 0
push esi
push edi
mov dword [ebp - 0x18], ebx
jne 0xed70f9
push 0xf024c0
call fcn.00ed7b08
push 0xf024e8
call fcn.00ed7b08
mov byte [0xf10043], bl
push 0x1418
lea ecx, [ebp - 0x2c]
call fcn.00ed134c
mov ebx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push 0x800
lea eax, [ebx + 0x1104]
push eax
lea eax, [ebp - 0x107c]
push eax
call fcn.00edfae7
lea eax, [ebp - 0x107c]
push eax
call fcn.00ef2b93
push 4
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x107c]
mov eax, esi
lea edi, [ebp - 0x207c]
push 0xf02524
push eax
call fcn.00ef4de5
add esp, 0x10
neg eax
sbb al, al
inc al
mov dword [ebp - 0x14], eax
test al, al
je 0xed7191
push 4
lea esi, [ebp - 0x1074]
mov eax, esi
push 0xf02530
push eax
call fcn.00ef4de5
add esp, 0xc
test eax, eax
jne 0xed7191
push 0x5c
pop eax
mov word [ebp - 0x207c], ax
lea edi, [ebp - 0x207a]
lea esi, [ebp - 0x106e]
push esi
push edi
call fcn.00ef4dc3
lea eax, [ebp - 0x207c]
push eax
call fcn.00ef2b93
mov esi, dword [ebp + 8]
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
cmp byte [esi + 0x618f], 0
jne 0xed71f1
cmp byte [ebp - 0x14], 0
jne 0xed73e7
lea eax, [ebx + 0x1104]
push eax
call fcn.00edb58f
test al, al
jne 0xed73e7
lea eax, [ebx + 0x1104]
push eax
push edi
lea eax, [ebx + 0x28]
push eax
push esi
call fcn.00ed78ea
test al, al
je 0xed73e7
xor esi, esi
inc esi
push esi
push edi
call fcn.00ed9dde
cmp byte [ebx + 0x10f1], 0
jne 0xed7236
cmp byte [ebx + 0x2104], 0
jne 0xed7236
xor eax, eax
push eax
push 0x80
push esi
push eax
push eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0xed73e7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xed7247
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0xed73e7
mov eax, dword [ebx + 0x1100]
cmp eax, 3
jne 0xed72b8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
add eax, edx
mov dword [ecx], 0xa0000003
lea esi, [edx + edx]
mov word [ecx + 0xa], si
lea eax, [eax*2 + 0xc]
mov word [ecx + 4], ax
xor eax, eax
mov dword [ecx + 6], eax
lea eax, [ebp - 0x107c]
push eax
lea eax, [ecx + 0x10]
push eax
call fcn.00ef4dc3
lea eax, [esi + 2]
mov esi, dword [ebp - 0x2c]
mov word [esi + 0xc], ax
mov eax, dword [ebp + 0x10]
add eax, eax
mov word [esi + 0xe], ax
lea eax, [ebp - 0x207c]
push eax
mov eax, dword [ebp - 0x10]
add eax, 9
lea eax, [esi + eax*2]
push eax
call fcn.00ef4dc3
add esp, 0x10
jmp 0xed7335
cmp eax, 2
je 0xed72c5
cmp eax, esi
jne 0xed73e7
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
add eax, edx
mov dword [ecx], 0xa000000c
lea esi, [edx + edx]
mov word [ecx + 0xa], si
lea eax, [eax*2 + 0x10]
mov word [ecx + 4], ax
xor eax, eax
mov dword [ecx + 6], eax
lea eax, [ebp - 0x107c]
push eax
lea eax, [ecx + 0x14]
push eax
call fcn.00ef4dc3
lea eax, [esi + 2]
mov esi, dword [ebp - 0x2c]
mov word [esi + 0xc], ax
mov eax, dword [ebp + 0x10]
add eax, eax
mov word [esi + 0xe], ax
lea eax, [ebp - 0x207c]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xb
lea eax, [esi + eax*2]
push eax
call fcn.00ef4dc3
mov eax, dword [ebp - 0x14]
add esp, 0x10
movzx eax, al
xor eax, 1
mov dword [esi + 0x10], eax
xor eax, eax
push eax
push 0x2200000
push 3
push eax
push eax
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, 0xffffffff
je 0xed73e7
xor edx, edx
lea eax, [ebp - 0x30]
push edx
push eax
movzx eax, word [esi + 4]
push edx
push edx
add eax, 8
push eax
push esi
push 0x900a4
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0xed7411
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x15
call fcn.00ed1f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0xed73a7
cmp eax, 0x522
jne 0xed73c2
call fcn.00edfcb1
test al, al
jne 0xed73c2
push 0x18
lea ecx, [ebp - 0x7c]
call fcn.00ed1558
lea ecx, [ebp - 0x7c]
call fcn.00ee0ac7
mov esi, 0xf100e0
mov ecx, esi
call fcn.00eee76a
push 9
mov ecx, esi
call fcn.00ed6f18
cmp byte [ebx + 0x10f1], 0
push edi
je 0xed7409
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
call fcn.00ed158d
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0xed73e7
lea ecx, [ebp - 0x30a0]
call fcn.00ed94d4
mov eax, dword [ebp - 0x30a0]
lea ecx, [ebp - 0x30a0]
mov byte [ebp - 4], 1
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x309c], eax
lea eax, [ebx + 0x1050]
mov ecx, dword [esi + 0x72d0]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebx + 0x1048]
push ecx
mov ecx, dword [esi + 0x72cc]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebx + 0x1040]
push ecx
mov ecx, dword [esi + 0x72c8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x30a0]
call fcn.00ed9b22
lea ecx, [ebp - 0x30a0]
call fcn.00ed9572
cmp byte [esi + 0x61a0], 0
jne 0xed749c
push dword [ebx + 0x24]
push edi
call fcn.00eda1d3
lea ecx, [ebp - 0x30a0]
call fcn.00ed9506
jmp 0xed73eb