Function at 0x100e3c70
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 0x1011e084
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.100e7380
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.100703c6
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0x5c], eax
mov dword [eax], 0xffffffff
push 0x10139f58
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 0x100e3d35
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e3d55
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x100e3d3d
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 0x100e3d5b
mov byte [ebp + 0x57], 0
jmp 0x100e3d75
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003c860
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 0x100e3db3
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3da9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44af
push edx
push ecx
call fcn.100703b3
add esp, 8
cmp byte [ebp + 0x57], 0
je 0x100e4237
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e3dce
mov al, 1
jmp 0x100e3dd0
xor al, al
test al, al
je 0x100e3e15
test ebx, ebx
je 0x100e3e15
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e3e15
cmp ebx, 1
je 0x100e3e04
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e3e15
cmp ebx, 2
jne 0x100e3e15
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], eax
jmp 0x100e3ee0
or ecx, 0
je 0x100e3e1e
mov al, 1
jmp 0x100e3e20
xor al, al
test al, al
lea edx, [ebp + 0x10]
lea eax, [ebp - 0x24]
lea ecx, [ebp + 0x3c]
push eax
je 0x100e3e7e
call fcn.1002f7a0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100e3c70
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], edx
cmp esi, 8
jb 0x100e3ed2
mov ecx, dword [ebp + 0x3c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x100e3e7b
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44b4
push esi
jmp 0x100e3ec9
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp + 0x3c]
call fcn.100e56d0
movzx eax, al
cdq
mov dword [ebp + 0x34], edx
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
cmp edx, 8
jb 0x100e3ed2
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3ec8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44b9
push edx
push ecx
call fcn.100703b3
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 0x100e4249
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003c860
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e3f1b
mov al, 1
jmp 0x100e3f1d
xor al, al
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
test al, al
je 0x100e3f57
test ebx, ebx
je 0x100e3f57
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e3f57
cmp ebx, 1
je 0x100e3ee0
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e3f57
cmp ebx, 2
je 0x100e3ee0
or ecx, 0
je 0x100e3f60
mov al, 1
jmp 0x100e3f62
xor al, al
test al, al
je 0x100e40b2
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 0x100e3fef
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.10074220
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e4001
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 0x100e4041
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.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e4053
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.100e3c70
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 0x100e3ee0
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e40a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44af
push edx
push ecx
call fcn.100703b3
add esp, 8
jmp 0x100e3ed5
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 0x100e4137
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.10074220
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e4149
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 0x100e4189
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.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e419b
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 0x100e41ca
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 0x100e3ee0
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4228
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44af
push edx
push ecx
call fcn.100703b3
add esp, 8
jmp 0x100e3ed5
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 0x100e4261
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e4261
mov dword [ebx], 0xffffffff
mov edx, 0x20
lea ecx, [ebp + 0x10]
call fcn.100e7380
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.100747a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push 0
push 0
call ebx
test eax, eax
je 0x100e439f
cmp eax, 0x208
jae 0x100e439f
lea eax, [ebp - 0x488]
push eax
push 0x209
call ebx
test eax, eax
je 0x100e439f
cmp eax, 0x208
jae 0x100e439f
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 0x100e42f0
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.100e7380
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 0x100e43a2
push eax
call fcn.1001c9e0
add esp, 4
test eax, eax
jne 0x100e43a2
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x74]
call fcn.100e7130
cmp dword [eax + 0x14], 8
jb 0x100e435c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100e43a2
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44be
push edx
push ecx
call fcn.100703b3
add esp, 8
jmp 0x100e43a2
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 0x100e43d4
add dword [ebp + 0x38], 1
adc dword [ebp + 0x34], 0
mov eax, dword [ebp + 0x50]
cmp eax, 8
jb 0x100e440b
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100e4401
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44c3
push ecx
push ebx
call fcn.100703b3
add esp, 8
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100e4426
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e4426
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.100703b3
add esp, 8
cmp esi, 8
jb 0x100e4461
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x100e4457
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44c8
push esi
push edi
call fcn.100703b3
add esp, 8
mov edx, dword [ebp + 0x24]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x100e449a
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e44cd
push edx
push ecx
call fcn.100703b3
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.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3