Function at 0x100989d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a000b
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.100970a0
cmp eax, 2
je 0x10098a11
mov al, 1
jmp 0x10098f71
push 8
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
call fcn.10264bfb
lea ecx, [ebp - 0x2f0]
mov dword [eax + 4], 0
mov dword [ebp - 0x2f0], eax
mov dword [eax], ecx
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx], 0
push 3
push 0x10335124
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov byte [ebp - 4], 0
call fcn.1004f0f0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.10098560
push 0x250
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.10267270
add esp, 0x24
lea ecx, [ebp - 0x2d8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x88], eax
test ecx, ecx
je 0x10098b3c
mov dword [ebp - 0x314], ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x318]
mov dword [ebp - method.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.virtual_0], vtable.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.0
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, dword [ebp - 0x2f4]
mov ecx, eax
mov dword [ebp - 0x5c], ecx
test esi, esi
je 0x10098b41
mov edx, dword [esi]
lea eax, [ebp - 0x318]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2f4], 0
jmp 0x10098b41
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x10098df5
cmp eax, 0xffffffff
je 0x10098df5
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [0x1037592c], 8
lea ecx, [ebp - 0x2ac]
mov eax, 0x10375918
cmovae eax, dword [0x10375918]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10098ba6
test dx, dx
je 0x10098ba2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10098ba6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10098b80
xor eax, eax
jmp 0x10098bab
sbb eax, eax
or eax, 1
test eax, eax
je 0x10098cce
cmp dword [0x10375914], 8
lea ecx, [ebp - 0x2ac]
mov eax, 0x10375900
cmovae eax, dword [0x10375900]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10098bf6
test dx, dx
je 0x10098bf2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10098bf6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10098bd0
xor eax, eax
jmp 0x10098bfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10098cce
sub esp, 0x18
mov edx, esp
mov dword [edx], 0
lea ecx, [ebp - 0x2ac]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea esi, [ecx + 2]
mov byte [ebp - 4], 3
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10098c30
sub ecx, esi
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.1004f0f0
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.10098560
add esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
test byte [ebp - 0x2d8], 0x10
je 0x10098c79
push eax
lea ecx, [ebp - 0x2f0]
call fcn.1009bf80
jmp 0x10098c90
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10098d31
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10098cce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098cc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f92
push edx
push ecx
call fcn.1026505f
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x88]
call ebx
test eax, eax
jne 0x10098b62
lea ecx, [ebp - 0x88]
call fcn.100871d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10098e84
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098e7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f8d
jmp 0x10098e7a
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.100882e0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.Unable_to_remove_file__0_._Error:__1
push 2
call fcn.10051390
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10098da0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f92
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10098dde
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098dd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f92
push edx
push ecx
call fcn.1026505f
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x10098e21
cmp eax, 0xffffffff
je 0x10098e21
test ecx, ecx
je 0x10098e3d
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x10098e3d
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10098f62
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098f58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f92
jmp 0x10098f58
push edx
push ecx
call fcn.1026505f
add esp, 8
cmp dword [ebp - 0x2e0], 0
je 0x10098ee3
nop dword [eax]
lea ecx, [ebp - 0x2f0]
call fcn.1009c6b0
mov ecx, eax
call fcn.100989d0
test al, al
je 0x10098f62
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2e0]
dec eax
mov edx, dword [ebp - 0x2e8]
add ecx, eax
mov eax, dword [ebp - 0x2ec]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.1004ef60
sub dword [ebp - 0x2e0], 1
jne 0x10098e90
mov dword [ebp - 0x2e4], 0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10098eed
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10098f54
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.100882e0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
push edi
push str.Unable_to_remove_directory__0_._Error:__1
push 2
mov ecx, esi
call fcn.10051390
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10098f62
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10098f58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098f97
jmp 0x10098f58
mov bl, 1
jmp 0x10098f64
push edx
push ecx
call fcn.1026505f
add esp, 8
xor bl, bl
lea ecx, [ebp - 0x2f0]
call fcn.1009bff0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
call fcn.10275373
call fcn.10275373
int3