Function at 0x1000dcb0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x45c]
sub esp, 0x45c
push 0xffffffffffffffff
push 0x10028c0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1003b014]
xor eax, ebp
mov dword [ebp + 0x458], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x1000e194
push 0x104
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [esi]
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000e194
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + 0x250]
push eax
call ebx
test eax, eax
jle 0x1000dd90
cmp word [str.temp], 0
mov ecx, str.temp
mov edi, dword [esi]
mov esi, edi
je 0x1000dd7d
nop dword [eax]
movzx edx, word [esi]
test dx, dx
je 0x1000dd7d
mov ax, word [ecx]
or edx, 0x20
or ax, 0x20
cmp dx, ax
je 0x1000dd71
lea edi, [esi + 2]
mov ecx, str.temp
jmp 0x1000dd74
add ecx, 2
add esi, 2
cmp word [ecx], 0
jne 0x1000dd50
xor eax, eax
cmp word [edi], ax
cmovne eax, edi
test eax, eax
je 0x1000e194
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x3b
push eax
mov ecx, dword [ecx]
call fcn.10002910
push 0x250
lea eax, [ebp]
push 0
push eax
call main
mov ecx, dword [esi]
add esp, 0x10
sub ecx, 0x10
call fcn.10007ad0
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push 2
push 0x10034d0c
call fcn.10007d60
mov edi, dword [ebp - 0x34]
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or esi, 0xffffffff
mov dword [ebp - 0x30], eax
cmp eax, esi
je 0x1000e12e
lea eax, [ebp + 0x2c]
push eax
call ebx
test eax, eax
jle 0x1000e12e
test byte [ebp], 0x10
mov ebx, dword [ebp - 0x24]
jne 0x1000df4d
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.10007ad0
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push 1
push 0x10033e14
call fcn.10007d60
lea ecx, [ebp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000de51
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.10007d60
mov esi, dword [ebp - 0x10]
test ebx, ebx
sete cl
mov dword [ebp - 0x18], ecx
test ebx, ebx
je 0x1000df26
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jbe 0x1000df23
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x1c], eax
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.100077c0
mov byte [ebp - 4], 5
test esi, esi
je 0x1000e1b7
mov eax, dword [ebp - 0x2c]
mov ecx, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000ded6
test dx, dx
je 0x1000ded2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000ded6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000deb0
xor eax, eax
jmp 0x1000dedb
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x18]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000df10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc ebx
add eax, 8
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x24]
jb 0x1000de94
mov ebx, dword [ebp - 0x24]
test cl, cl
je 0x1000df31
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000df4d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000e122
test byte [ebp], 0x10
jne 0x1000e0e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.10007ad0
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.10007330
mov byte [ebp - 4], 0xa
mov ecx, 0x10033e14
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000dfc6
test dx, dx
je 0x1000dfc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000dfc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000dfa0
xor esi, esi
jmp 0x1000dfcb
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000dfea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1000dffd
push 1
push 0x10033e14
lea ecx, [ebp - 0x10]
call fcn.10007d60
lea ecx, [ebp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e003
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.10007d60
mov esi, dword [ebp - 0x10]
test ebx, ebx
sete al
mov byte [ebp - 0x11], al
test ebx, ebx
je 0x1000e0c1
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jbe 0x1000e0c1
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x1c], eax
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.100077c0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x1000e1b7
mov ecx, dword [ebp - 0x18]
mov eax, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1000e087
test dx, dx
je 0x1000e083
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1000e087
add ecx, 4
add eax, 4
test dx, dx
jne 0x1000e061
xor eax, eax
jmp 0x1000e08c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000e101
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
inc ebx
add eax, 8
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x24]
jb 0x1000e046
mov al, byte [ebp - 0x11]
test al, al
je 0x1000e0cc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000e122
mov ebx, dword [ebp - 0x24]
jmp 0x1000df62
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e0c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000e0c5
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x1000e152
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1000e186
push 0x10001c30
push dword [eax - 4]
lea esi, [eax - 4]
push 8
push eax
call fcn.10010657
mov eax, dword [esi]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.1001076c
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x458]
xor ecx, ebp
call fcn.1000feb6
lea esp, [ebp + 0x45c]
pop ebp
ret
push 0x80004005
call fcn.100084e0
int3