Function at 0x1001ea00
Capabilities:
Delete file
Enumerate files on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x10044a01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x1005454c]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x280]
push ebp
mov ebp, dword [esp + 0x288]
push esi
mov esi, ecx
mov dword [esp + 0x274], eax
mov al, byte [esi + 0x34]
test al, al
push edi
je 0x1001ec2a
test ebx, ebx
je 0x1001ec2a
mov eax, dword [0x100555f8]
mov ecx, 0x100555f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ecx
lea edi, [esi + 0x28]
push edx
lea eax, [esp + 0x1c]
push 0x100481d0
push eax
mov dword [esp + 0x294], 0
call fcn.10005730
lea ecx, [esp + 0x24]
push ecx
call fcn.10014700
add esp, 0x14
test al, al
je 0x1001eaa9
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esi + 0x35], 1
push edi
push ebp
push ebx
mov ecx, esi
call fcn.1001ddc0
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.100022c0
add eax, 0x10
mov dword [esp + 0x1c], eax
push str..zip
mov byte [esp + 0x28c], 1
call fcn.100363e4
add esp, 8
push eax
push str..zip
lea ecx, [esp + 0x20]
call fcn.10008db0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x1001eb0a
lea eax, [esi - 0x10]
jmp 0x1001ebe2
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov byte [esp + 0x13], 0
jmp 0x1001eb20
mov eax, dword [0x100555f8]
mov ecx, 0x100555f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [edi]
lea ecx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x100481d0
push eax
mov byte [esp + 0x294], 2
call fcn.10005730
mov ebx, dword [esp + 0x2c]
add esp, 0xc
lea esi, [ebx - 0x10]
mov dword [esp + 0x28], esp
mov ebp, esp
push esi
call fcn.100022c0
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.10015af0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001eba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1001eba5
mov byte [esp + 0x13], 1
mov byte [esp + 0x284], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001ebc4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x1001eb20
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x284], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001ec01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x284], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001ec2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x270]
pop ebp
pop ebx
xor ecx, esp
call fcn.1003609d
add esp, 0x278
ret 8