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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c122
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4243cc]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x298], ebx
xor eax, eax
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, esi
jb 0x40e14c
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040aef0
push 2
push 0x41d934
lea ecx, [ebp - 0x40]
call fcn.0040aef0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2a0], edi
cmp edi, 0xffffffff
jne 0x40e1a0
xor esi, esi
jmp 0x40e4cc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 2
jb 0x40e1c2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040aef0
push 1
push 0x41d860
lea ecx, [ebp - 0x28]
call fcn.0040aef0
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e1e6
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0040aef0
test byte [ebp - 0x290], 0x10
je 0x40e506
xor eax, eax
mov dword [ebp - 0x2c4], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e240
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00409e20
mov eax, dword [ebp - 0x2d4]
lea esi, [ebp - 0x2d4]
mov edi, dword [ebp - 0x2c4]
or ebx, 1
cmp dword [ebp - 0x2c0], 8
mov edx, edi
mov dword [ebp - 0x2a4], eax
mov ecx, 0x41d6dc
cmovae esi, eax
mov byte [ebp - 4], 3
cmp edi, 1
mov dword [ebp - 0x298], ebx
mov eax, 1
cmova edx, eax
test edx, edx
je 0x40e2c1
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40e2da
add ecx, 2
sub edx, 1
jne 0x40e2b0
cmp edi, 1
jb 0x40e2da
ja 0x40e2da
mov edi, dword [ebp - 0x2bc]
mov byte [ebp - 0x291], 0
jmp 0x40e38e
xor eax, eax
mov dword [ebp - 0x2ac], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e300
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00409e20
mov edi, dword [ebp - 0x2bc]
lea esi, [ebp - 0x2bc]
mov eax, dword [ebp - 0x2ac]
or ebx, 2
cmp dword [ebp - 0x2a8], 8
mov ecx, 2
mov edx, eax
cmovae esi, edi
cmp eax, 2
cmova edx, ecx
mov ecx, 0x41d93c
test edx, edx
je 0x40e377
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40e387
add ecx, 2
sub edx, 1
jne 0x40e360
mov eax, dword [ebp - 0x2ac]
cmp eax, 2
jb 0x40e387
ja 0x40e387
mov byte [ebp - 0x291], 0
jmp 0x40e38e
mov byte [ebp - 0x291], 1
test bl, 2
je 0x40e3dd
mov eax, dword [ebp - 0x2a8]
and ebx, 0xfffffffd
mov dword [ebp - 0x298], ebx
cmp eax, 8
jb 0x40e3dd
lea ecx, [eax*2 + 2]
mov eax, edi
mov dword [ebp - 4], 4
cmp ecx, 0x1000
jb 0x40e3d3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e51d
push ecx
push edi
call fcn.0041a1df
add esp, 8
mov dword [ebp - 4], 2
test bl, 1
je 0x40e434
mov eax, dword [ebp - 0x2c0]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x40e434
mov edx, dword [ebp - 0x2a4]
lea ecx, [eax*2 + 2]
mov eax, edx
mov byte [ebp - 4], 5
cmp ecx, 0x1000
jb 0x40e426
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e51d
push ecx
push edx
call fcn.0041a1df
add esp, 8
mov byte [ebp - 4], 2
cmp byte [ebp - 0x291], 0
je 0x40e449
lea eax, [ebp - 0x28]
push eax
call fcn.0040e0f0
add esp, 4
mov edi, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40e49b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x40e48d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e51d
push edx
push ecx
call fcn.0041a1df
add esp, 8
mov byte [ebp - 4], 0
lea eax, [ebp - 0x290]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e1a0
cmp dword [esi + 0x14], 8
jb 0x40e4b9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 7
cmp ecx, 8
jb 0x40e4e8
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409fe0
mov eax, esi
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.0041a150
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40e455
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3