Function at 0x40ea60
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4f54d8]
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 ebx, ecx
mov dword [ebp - 0x2dc], ebx
push 0x4d8824
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.00410a80
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e0], esi
cmp esi, 0xffffffff
je 0x40ed70
jmp 0x40eaf0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x2ac], ax
jne 0x40eb11
xor ecx, ecx
jmp 0x40eb2f
lea ecx, [ebp - 0x2ac]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eb20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov esi, 1
mov edx, dword [ebp - 0x28]
cmp ebx, 8
mov edi, dword [ebp - 0x18]
cmovae ecx, edx
cmp edi, esi
cmovb esi, edi
test esi, esi
je 0x40eb7c
mov edx, 0x4d8830
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40eb8c
add ecx, 2
add edx, 2
dec esi
jne 0x40eb68
mov edx, dword [ebp - 0x28]
xor eax, eax
test eax, eax
jne 0x40eba7
cmp edi, 1
jae 0x40eb9d
or eax, 0xffffffff
jmp 0x40eba5
movzx eax, word [ecx]
cmp ax, word [edx]
mov edx, dword [ebp - 0x28]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40eb7e
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
jne 0x40ed35
cmp ebx, 8
lea ecx, [ebp - 0x28]
mov esi, 2
cmovae ecx, edx
cmp edi, esi
cmovb esi, edi
test esi, esi
je 0x40ebe4
mov edx, 0x4d8834
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40ebf4
add ecx, 2
add edx, 2
dec esi
jne 0x40ebd0
mov edx, dword [ebp - 0x28]
xor eax, eax
test eax, eax
jne 0x40ec0f
cmp edi, 2
jae 0x40ec05
or eax, 0xffffffff
jmp 0x40ec0d
movzx eax, word [ecx]
cmp ax, word [edx]
mov edx, dword [ebp - 0x28]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40ebe6
xor eax, eax
cmp edi, 2
setne al
test eax, eax
sete al
test al, al
jne 0x40ed35
test byte [ebp - 0x2d8], 0x10
lea ecx, [ebp - 0x58]
mov ebx, dword [ebp - 0x2dc]
mov edx, ebx
push 0x4d8800
je 0x40ecc7
call fcn.00410a80
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00410b70
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x44], 8
jb 0x40ec69
push dword [ebp - 0x58]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0040e740
cmp dword [ebp - 0x5c], 8
jb 0x40ec96
push dword [ebp - 0x70]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
jb 0x40ed4d
push dword [ebp - 0x28]
call fcn.00464c00
add esp, 4
jmp 0x40ed4d
call fcn.00410a80
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00410b70
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x40ecf5
push dword [ebp - 0x58]
call fcn.00464c00
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x2c], 8
jb 0x40ed1c
push dword [ebp - 0x40]
call fcn.00464c00
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x40ecaa
mov byte [ebp - 4], 0
cmp ebx, 8
jb 0x40ed47
push edx
call fcn.00464c00
add esp, 4
mov ebx, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2e0]
lea eax, [ebp - 0x2d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40eaf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebx + 0x14], 8
jb 0x40ed78
mov ebx, dword [ebx]
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x74], 8
jb 0x40ed97
push dword [ebp - 0x88]
call fcn.00464c00
add esp, 4
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.00482fe3
mov esp, ebp
pop ebp
ret