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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x58
push 0
push 0
dec ecx
jne 0x5eda91
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a78c
lea eax, [ebp - 0xc]
mov edx, dword [0x5ef440]
call fcn.0040bc08
mov esi, dword [0x6043a8]
xor eax, eax
push ebp
push 0x5ee213
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x5edb13
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x5ee192
mov eax, edx
test eax, eax
je 0x5edb26
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5edb3e
lea eax, [ebp - 4]
mov edx, 0x5ee230
call fcn.0040b6d0
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
lea eax, [esi + 8]
mov ecx, dword [ebp - 4]
mov edx, 0x5ee240
call fcn.0040b728
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040b5c8
mov eax, dword [ebp - 0x270]
call fcn.005ed328
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, dword [0x5ef40c]
call fcn.0040d96c
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x5ef40c]
call fcn.0040d848
add esp, 4
xor ebx, ebx
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x27c]
mov ecx, 0x5ee270
mov edx, dword [ebp - 4]
call fcn.0040b728
mov edx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
call fcn.0040b5c8
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x274]
call fcn.005d4710
mov eax, dword [ebp - 0x274]
call fcn.0040b26c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5ee192
jmp 0x5edc11
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5edc07
cmp byte [esi + 1], 0
je 0x5edc2a
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose
jmp 0x5ee192
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5ede51
cmp eax, ebx
jle 0x5ede51
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x280]
mov edx, 0x5ee278
call fcn.0040b43c
je 0x5ede33
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x284]
mov edx, 0x5ee280
call fcn.0040b43c
je 0x5ede33
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x288]
call fcn.005ed24c
test al, al
jne 0x5ede33
mov eax, dword [ebp - 0x26c]
mov edx, eax
and edx, 0x10
cmp edx, 0x10
jne 0x5eddea
and eax, 0x400
cmp eax, 0x400
jne 0x5eddb9
push dword [ebp - 4]
lea eax, [ebp - 0x298]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b578
push dword [ebp - 0x298]
push 0x5ee230
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.0040b7b0
mov edx, dword [ebp - 0x294]
lea eax, [ebp - 0x290]
call fcn.0040b5c8
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x28c]
call fcn.00425314
mov eax, dword [ebp - 0x28c]
call fcn.005eb574
test al, al
jne 0x5ede33
lea eax, [ebp - 0x2a0]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
call fcn.004252d8
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp + 8]
call fcn.005eb4b0
test al, al
jne 0x5ede33
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 1
inc ebx
jmp 0x5ede33
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 1
inc ebx
jmp 0x5ede33
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x250]
mov dword [eax + edi*4 + 8], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24c]
mov dword [eax + edi*4 + 0xc], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 0
inc ebx
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5edc11
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose
mov dword [ebp - 0xc], ebx
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x5ee012
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 0x10], 0
jne 0x5ee00a
jmp 0x5ede89
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5ede7f
cmp byte [esi + 1], 0
jne 0x5ee192
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x19]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x2ac]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
mov edx, dword [ebp - 4]
call fcn.0040b728
mov edx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a4]
call fcn.0040b5c8
mov eax, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x15]
call fcn.005ece30
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
add eax, 1
adc edx, 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
cmp byte [ebp - 0x15], 0
je 0x5edf27
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
add eax, 1
adc edx, 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
cmp byte [ebp - 0x16], 0
je 0x5edf3f
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
add eax, 1
adc edx, 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
cmp byte [ebp - 0x17], 0
je 0x5edf57
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
add eax, 1
adc edx, 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
cmp byte [ebp - 0x18], 0
je 0x5edf6f
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
add eax, 1
adc edx, 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
cmp byte [ebp - 0x19], 0
je 0x5edf87
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
add eax, 1
adc edx, 0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
cmp byte [ebp - 0x1a], 0
je 0x5edf9f
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
add eax, 1
adc edx, 0
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
cmp byte [ebp - 0xd], 0
je 0x5edfb9
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add eax, 1
adc edx, 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
jmp 0x5edffe
push 1
push 0
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 8]
xor edx, edx
call fcn.0040d0b8
push edx
push eax
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
inc ebx
dec edi
jne 0x5ede6c
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x5ee11f
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 0x10], 0
je 0x5ee117
jmp 0x5ee03e
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5ee034
cmp byte [esi + 1], 0
jne 0x5ee192
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
and eax, 0x400
cmp eax, 0x400
jne 0x5ee0d0
lea eax, [ebp - 0x2b0]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
mov edx, dword [ebp - 0x2b0]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x2b8]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2b8]
push 0x5ee230
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2b4]
mov cl, 1
movzx edx, byte [ebp - 0xd]
call fcn.005eda88
jmp 0x5ee117
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x2c0]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2c0]
push 0x5ee230
lea eax, [ebp - 0x2bc]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2bc]
xor ecx, ecx
movzx edx, byte [ebp - 0xd]
call fcn.005eda88
inc ebx
dec edi
jne 0x5ee021
lea eax, [ebp - 8]
mov edx, dword [0x5ef40c]
call fcn.0040d96c
lea eax, [ebp - 0x2c4]
mov ecx, 0x5ee294
mov edx, dword [ebp - 4]
call fcn.0040b728
mov eax, dword [ebp - 0x2c4]
call fcn.0040b4d8
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x2c8]
mov ecx, 0x5ee2c8
mov edx, dword [ebp - 4]
call fcn.0040b728
mov eax, dword [ebp - 0x2c8]
call fcn.0040b4d8
push eax
call sub.kernel32.dll_DeleteFileW
cmp byte [ebp - 0xe], 0
je 0x5ee192
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee21a
lea eax, [ebp - 0x2c8]
mov edx, 9
call fcn.0040a6f8
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.0040a768
lea eax, [ebp - 0x298]
mov edx, 2
call fcn.0040a6f8
lea eax, [ebp - 0x290]
mov edx, 5
call fcn.0040a768
lea eax, [ebp - 0x27c]
call fcn.0040a698
lea eax, [ebp - 0x278]
mov edx, 3
call fcn.0040a768
lea eax, [ebp - 0xc]
mov edx, dword [0x5ef440]
call fcn.0040bfd4
lea eax, [ebp - 4]
call fcn.0040a698
pop eax
jmp eax