Function at 0x1000e800
Capabilities:
Delete directory
Resolve function by parsing pe exports
Set current directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1006d7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x1007d1f8]
xor eax, esp
mov dword [esp + 0x1ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007d1f8]
xor eax, esp
push eax
lea eax, [esp + 0x204]
mov dword fs:[0], eax
mov eax, dword [esp + 0x214]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10003960
mov dword [esp + 0x20c], ebx
push 0x10073e2c
lea ebx, [esp + 0x44]
call fcn.1000a990
xor esi, esi
add esp, 4
cmp dword [esp + 0x54], esi
je 0x1000e895
push 0x5c
push 1
mov ecx, ebx
call fcn.10009db0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], esi
mov byte [esp + 0xa4], 0
push 4
mov byte [esp + 0x210], 2
call fcn.10041593
add esp, 4
cmp eax, esi
je 0x1000e8e5
mov edi, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x1c], edi
jmp 0x1000e8eb
mov dword [esp + 0x1c], esi
mov edi, esi
mov dword [esp + 0x20], edi
push 0x10073e40
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x218], 3
call fcn.1000f940
add esp, 0xc
lea edx, [esp + 0x78]
mov ecx, eax
mov byte [esp + 0x20c], 4
call fcn.1002abf0
mov ebp, 0x10
mov byte [esp + 0x20c], 3
cmp dword [esp + 0x3c], ebp
mov bl, al
jb 0x1000e943
mov edx, dword [esp + 0x28]
push edx
call fcn.10040f62
add esp, 4
test bl, bl
je 0x1000eb8f
lea esi, [esp + 0x78]
call fcn.1002ab60
test al, al
jne 0x1000e9f2
mov eax, dword [esp + 0x98]
and eax, ebp
xor ecx, ecx
or eax, ecx
je 0x1000e9b0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.1000d760
push eax
mov byte [esp + 0x21c], 5
call fcn.1000e800
add esp, 0x10
mov byte [esp + 0x20c], 3
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jb 0x1000e9f2
mov eax, dword [esp + 0x28]
push eax
jmp 0x1000e9ea
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1000d760
add esp, 0xc
lea edi, [esp + 0x24]
call fcn.1000e7b0
cmp dword [esp + 0x3c], ebp
movzx eax, al
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jb 0x1000e9f2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10040f62
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0xc0]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
setne al
test al, al
je 0x1000eb8b
lea esi, [esp + 0x78]
lea ecx, [esp + 0xc0]
call fcn.1002ad00
mov edx, dword [esp + 0x98]
mov eax, edx
and eax, ebp
xor ecx, ecx
or eax, ecx
je 0x1000eaaa
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x1000eaaa
cmp dword [esp + 0xb8], ebp
mov eax, dword [esp + 0xa4]
jae 0x1000ea65
lea eax, [esp + 0xa4]
cmp byte [eax], 0x2e
jne 0x1000eaaa
cmp ecx, 1
je 0x1000ea00
jae 0x1000ea84
call fcn.10041d26
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x98]
cmp dword [esp + 0xb8], ebp
mov eax, dword [esp + 0xa4]
jae 0x1000ea9b
lea eax, [esp + 0xa4]
cmp byte [eax + 1], 0x2e
jne 0x1000eaaa
cmp ecx, 2
je 0x1000ea00
and edx, ebp
mov eax, edx
xor ecx, ecx
or eax, ecx
je 0x1000eb08
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.1000d760
push eax
mov byte [esp + 0x21c], 6
call fcn.1000e800
add esp, 0x10
add dword [esp + 0x14], eax
mov byte [esp + 0x20c], 3
adc dword [esp + 0x18], edx
cmp dword [esp + 0x3c], ebp
jb 0x1000ea00
mov edx, dword [esp + 0x28]
push edx
call fcn.10040f62
add esp, 4
jmp 0x1000ea00
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.1000d760
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], ebp
jae 0x1000eb30
lea eax, [esp + 0x28]
push eax
call ebx
mov ecx, dword [esp + 0x28]
and eax, 0xfffffffe
cmp dword [esp + 0x3c], ebp
jae 0x1000eb44
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x28]
jae 0x1000eb5a
lea eax, [esp + 0x28]
push eax
call edi
cmp eax, 1
sete al
movzx eax, al
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0x3c], ebp
jb 0x1000ea00
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10040f62
add esp, 4
jmp 0x1000ea00
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
je 0x1000ebad
push eax
call esi
test eax, eax
je 0x1000ebad
mov edx, dword [esp + 0x1c]
mov dword [edx], 0xffffffff
push 0x10073e2c
lea ebx, [esp + 0x44]
call fcn.1000a990
xor ebx, ebx
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x5c]
mov byte [esp + 0x20c], 8
call fcn.100093b0
test al, al
je 0x1000ec53
lea eax, [esp + 0x5c]
push 0x20
push eax
call fcn.1000c030
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], ebp
jae 0x1000ec02
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x6c]
call fcn.10003a70
test eax, eax
jne 0x1000ec53
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.1000c6f0
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x1000ec36
mov eax, dword [eax + 4]
jmp 0x1000ec39
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [esp + 0x3c], ebp
jb 0x1000ec53
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10040f62
add esp, 4
cmp dword [esp + 0x58], ebp
mov eax, dword [esp + 0x44]
jae 0x1000ec61
lea eax, [esp + 0x44]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esp + 0x58], ebp
mov eax, dword [esp + 0x44]
jae 0x1000ec77
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
mov edi, dword [esp + 0x14]
je 0x1000ec8d
add edi, 1
adc dword [esp + 0x18], ebx
cmp dword [esp + 0x74], ebp
jb 0x1000eca0
mov edx, dword [esp + 0x60]
push edx
call fcn.10040f62
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1000eccc
push eax
call esi
test eax, eax
je 0x1000eccc
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
call fcn.10040f62
add esp, 4
cmp dword [esp + 0xb8], ebp
jb 0x1000ecf2
mov eax, dword [esp + 0xa4]
push eax
call fcn.10040f62
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x1000ed1e
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10040f62
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, edi
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ec]
xor ecx, esp
call fcn.10040be4
add esp, 0x1fc
ret