Function at 0x40e1e0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cfd4
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x4263c8]
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 - 0x2a0], 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 0x40e23c
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040af20
push 2
push 0x41e908
lea ecx, [ebp - 0x40]
call fcn.0040af20
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 - 0x2a4], edi
cmp edi, 0xffffffff
jne 0x40e290
xor esi, esi
jmp 0x40e6dd
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 0x40e2b2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040af20
push 1
push 0x41e834
lea ecx, [ebp - 0x28]
call fcn.0040af20
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e2d6
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0040af20
test byte [ebp - 0x290], 0x10
je 0x40e716
xor eax, eax
mov dword [ebp - 0x2e0], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e330
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00409e00
mov eax, dword [ebp - 0x2f0]
lea esi, [ebp - 0x2f0]
mov edi, dword [ebp - 0x2e0]
or ebx, 1
cmp dword [ebp - 0x2dc], 8
mov edx, edi
mov dword [ebp - 0x2c0], eax
mov ecx, 0x41e6b0
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 0x40e3b1
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40e3d6
add ecx, 2
sub edx, 1
jne 0x40e3a0
cmp edi, 1
jb 0x40e3d6
ja 0x40e3d6
mov eax, dword [ebp - 0x2d8]
mov edi, dword [ebp - 0x2bc]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x291], 0
jmp 0x40e553
xor eax, eax
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e400
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00409e00
mov eax, dword [ebp - 0x2d8]
lea esi, [ebp - 0x2d8]
mov edi, dword [ebp - 0x2c8]
or ebx, 2
cmp dword [ebp - 0x2c4], 8
mov edx, edi
mov dword [ebp - 0x29c], eax
mov ecx, 0x41e910
cmovae esi, eax
mov dword [ebp - 4], 4
cmp edi, 2
mov dword [ebp - 0x298], ebx
mov eax, 2
cmova edx, eax
test edx, edx
je 0x40e481
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40e49a
add ecx, 2
sub edx, 1
jne 0x40e470
cmp edi, 2
jb 0x40e49a
ja 0x40e49a
mov edi, dword [ebp - 0x2bc]
mov byte [ebp - 0x291], 0
jmp 0x40e553
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 0x40e4c0
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00409e00
mov eax, dword [ebp + 0xc]
or ebx, 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40e4f2
mov ecx, dword [eax]
cmp dword [ebp - 0x2a8], 8
lea esi, [ebp - 0x2bc]
mov eax, dword [eax + 0x10]
mov edi, dword [ebp - 0x2bc]
cmovae esi, edi
mov edx, dword [ebp - 0x2ac]
cmp eax, edx
mov dword [ebp - 0x298], eax
cmovb edx, eax
test edx, edx
je 0x40e539
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40e54c
add ecx, 2
sub edx, 1
jne 0x40e522
mov eax, dword [ebp - 0x298]
cmp dword [ebp - 0x2ac], eax
jb 0x40e54c
ja 0x40e54c
mov byte [ebp - 0x291], 0
jmp 0x40e553
mov byte [ebp - 0x291], 1
test bl, 4
je 0x40e5a2
and ebx, 0xfffffffb
mov dword [ebp - 0x298], ebx
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x40e5a2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40e598
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e710
push ecx
push edi
call fcn.0041ae54
add esp, 8
test bl, 2
je 0x40e5f7
and ebx, 0xfffffffd
mov dword [ebp - 0x298], ebx
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 4], 6
cmp eax, 8
jb 0x40e5f7
mov edx, dword [ebp - 0x29c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e5ed
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e710
push ecx
push edx
call fcn.0041ae54
add esp, 8
mov dword [ebp - 4], 2
and ebx, 0xfffffffe
mov eax, dword [ebp - 0x2dc]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x40e645
mov edx, dword [ebp - 0x2c0]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e63b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e710
push ecx
push edx
call fcn.0041ae54
add esp, 8
cmp byte [ebp - 0x291], 0
mov byte [ebp - 4], 2
je 0x40e65e
lea eax, [ebp - 0x28]
push eax
call fcn.0040e760
add esp, 4
mov edi, dword [ebp - 0x2a4]
mov esi, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x40e6a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e69a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e710
push edx
push ecx
call fcn.0041ae54
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
lea eax, [ebp - 0x290]
push eax
push edi
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e290
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 9
cmp edx, 8
jb 0x40e737
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e72d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e72d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40e66a
push edx
push ecx
call fcn.0041ae54
add esp, 8
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.0041adc0
mov esp, ebp
pop ebp
ret