Function at 0x100e6900
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x10121a64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push esi
push edi
xor eax, eax
xorps xmm0, xmm0
push ecx
mov dword [ebp], eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x30], eax
movlpd qword [ebp + 4], xmm0
call fcn.1001cdf0
mov edx, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.100ea2b0
xorps xmm0, xmm0
xor ebx, ebx
mov esi, 7
movlpd qword [ebp - 0x4c], xmm0
xor eax, eax
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x24], ax
push 4
mov byte [ebp - 4], 1
call fcn.10073081
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0x5c], eax
mov dword [eax], 0xffffffff
push 0x1013df68
lea edx, [ebp + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x3c]
call fcn.1002f240
add esp, 8
mov edi, eax
mov eax, dword [ebp + 0x2c]
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x100e69c5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e69e5
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x100e69cd
mov edi, dword [edi]
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x100e69eb
mov byte [ebp + 0x57], 0
jmp 0x100e6a05
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003cb90
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp + 0x57], 1
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
cmp edx, 8
jb 0x100e6a43
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6a39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e713f
push edx
push ecx
call fcn.1007306e
add esp, 8
cmp byte [ebp + 0x57], 0
je 0x100e6ec7
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e6a5e
mov al, 1
jmp 0x100e6a60
xor al, al
test al, al
je 0x100e6aa5
test ebx, ebx
je 0x100e6aa5
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e6aa5
cmp ebx, 1
je 0x100e6a94
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e6aa5
cmp ebx, 2
jne 0x100e6aa5
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], eax
jmp 0x100e6b70
or ecx, 0
je 0x100e6aae
mov al, 1
jmp 0x100e6ab0
xor al, al
test al, al
lea edx, [ebp + 0x10]
lea eax, [ebp - 0x24]
lea ecx, [ebp + 0x3c]
push eax
je 0x100e6b0e
call fcn.1002f7a0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100e6900
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], edx
cmp esi, 8
jb 0x100e6b62
mov ecx, dword [ebp + 0x3c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x100e6b0b
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7144
push esi
jmp 0x100e6b59
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp + 0x3c]
call fcn.100e8360
movzx eax, al
cdq
mov dword [ebp + 0x34], edx
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
cmp edx, 8
jb 0x100e6b62
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7149
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
nop dword [eax + eax]
mov ebx, dword [ebp + 0x2c]
lea eax, [ebp - 0x2c8]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100e6ed9
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003cb90
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e6bab
mov al, 1
jmp 0x100e6bad
xor al, al
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
test al, al
je 0x100e6be7
test ebx, ebx
je 0x100e6be7
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e6be7
cmp ebx, 1
je 0x100e6b70
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e6be7
cmp ebx, 2
je 0x100e6b70
or ecx, 0
je 0x100e6bf0
mov al, 1
jmp 0x100e6bf2
xor al, al
test al, al
je 0x100e6d42
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
mov eax, dword [ebp + 0x30]
or eax, 1
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x30], eax
mov dword [ebp], eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
call fcn.10021790
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov esi, dword [ebp + 0x4c]
cmovae edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x20]
sub eax, esi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x28], esi
cmp ecx, eax
ja 0x100e6c7f
cmp dword [ebp + 0x50], 8
lea eax, [esi + ecx]
mov dword [ebp + 0x4c], eax
lea esi, [ebp + 0x3c]
cmovae esi, dword [ebp + 0x3c]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10076ed0
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e6c91
push ecx
push edx
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.1001f850
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
cmovae ecx, edi
sub eax, edx
cmp ebx, eax
ja 0x100e6cd1
cmp dword [ebp + 0x50], 8
lea esi, [ebp + 0x3c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp + 0x3c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp + 0x4c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e6ce3
push ebx
push ecx
mov byte [ebp - 0x54], 0
lea ecx, [ebp + 0x3c]
push dword [ebp - 0x54]
push ebx
call fcn.1001f850
mov edi, dword [ebp - 0x24]
lea ecx, [ebp + 0x3c]
call fcn.100e6900
add dword [ebp + 0x38], eax
adc dword [ebp + 0x34], edx
and dword [ebp + 0x30], 0xfffffffe
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
mov esi, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e6b70
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6d33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e713f
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100e6b65
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
mov eax, dword [ebp + 0x30]
or eax, 2
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x30], eax
mov dword [ebp], eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
call fcn.10021790
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov esi, dword [ebp + 0x4c]
cmovae edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x20]
sub eax, esi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x28], esi
cmp ecx, eax
ja 0x100e6dc7
cmp dword [ebp + 0x50], 8
lea eax, [esi + ecx]
mov dword [ebp + 0x4c], eax
lea esi, [ebp + 0x3c]
cmovae esi, dword [ebp + 0x3c]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10076ed0
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e6dd9
push ecx
push edx
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.1001f850
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
cmovae ecx, edi
sub eax, edx
cmp ebx, eax
ja 0x100e6e19
cmp dword [ebp + 0x50], 8
lea esi, [ebp + 0x3c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp + 0x3c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp + 0x4c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e6e2b
push ebx
push ecx
mov byte [ebp + 8], 0
lea ecx, [ebp + 0x3c]
push dword [ebp + 8]
push ebx
call fcn.1001f850
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
mov edi, dword [ebp - 0x24]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x100e6e5a
and eax, 0xfffffffe
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x50], 8
push eax
cmovae ecx, dword [ebp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec eax
neg eax
sbb eax, eax
inc eax
add dword [ebp + 0x38], eax
adc dword [ebp + 0x34], 0
and dword [ebp + 0x30], 0xfffffffd
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
mov esi, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e6b70
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6eb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e713f
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100e6b65
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x38], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100e6ef1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e6ef1
mov dword [ebx], 0xffffffff
mov edx, 0x20
lea ecx, [ebp + 0x10]
call fcn.100ea2b0
mov dword [ebp + 0x50], 7
xor eax, eax
mov byte [ebp - 4], 7
push 0x412
push eax
mov word [ebp + 0x3c], ax
lea eax, [ebp - 0x488]
push eax
mov dword [ebp + 0x4c], 0
call fcn.10077450
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push 0
push 0
call ebx
test eax, eax
je 0x100e702f
cmp eax, 0x208
jae 0x100e702f
lea eax, [ebp - 0x488]
push eax
push 0x209
call ebx
test eax, eax
je 0x100e702f
cmp eax, 0x208
jae 0x100e702f
xor eax, eax
lea ecx, [ebp - 0x488]
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e6f80
sub ecx, edx
lea eax, [ebp - 0x488]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x3c]
call fcn.1001a860
mov edx, 0x20
lea ecx, [ebp + 0x3c]
call fcn.100ea2b0
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov ebx, dword [ebp + 0x3c]
lea ecx, [ebp + 0x3c]
cmovae edx, dword [ebp + 0x10]
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x4c]
cmovae ecx, ebx
cmp eax, dword [ebp + 0x20]
jne 0x100e7032
push eax
call fcn.1001c9e0
add esp, 4
test eax, eax
jne 0x100e7032
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x74]
call fcn.100ea060
cmp dword [eax + 0x14], 8
jb 0x100e6fec
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100e7032
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e7023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e714e
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100e7032
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
push 0x10
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x100e7064
add dword [ebp + 0x38], 1
adc dword [ebp + 0x34], 0
mov eax, dword [ebp + 0x50]
cmp eax, 8
jb 0x100e709b
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100e7091
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7153
push ecx
push ebx
call fcn.1007306e
add esp, 8
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100e70b6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e70b6
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.1007306e
add esp, 8
cmp esi, 8
jb 0x100e70f1
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x100e70e7
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7158
push esi
push edi
call fcn.1007306e
add esp, 8
mov edx, dword [ebp + 0x24]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x100e712a
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e7120
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e715d
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword fs:[0], ecx
lea esp, [ebp + 0x58]
pop ebp
ret
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
int3