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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
push eax
cmp byte [edi], 0x2e
jne 0x41ed86
lea eax, [edi + 1]
push eax
push 0
call fcn.00435f20
add eax, 0x18
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.00422060
add esp, 0xc
push eax
lea eax, [ebp - 0x130]
push 0x4a10c0
push eax
call fcn.00401045
add esp, 0x14
jmp 0x41ed9b
push edi
lea eax, [ebp - 0x130]
push 0x4b2860
push eax
call fcn.00401045
add esp, 0x10
push dword [ebp + 0x10]
lea eax, [ebp - 0x25c]
push str._08d
push eax
call fcn.00401045
add esp, 0xc
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41eff8
push esi
test byte [ebp - 0x4c8], 0x10
jne 0x41eee5
lea ecx, [ebp - 0x49c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ede8
sub ecx, edx
cmp ecx, 8
jb 0x41eee5
lea ecx, [ebp - 0x49c]
mov esi, 4
lea edx, [ebp - 0x25c]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41ee25
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41ee10
xor eax, eax
jmp 0x41ee4a
cmp al, byte [edx]
jne 0x41ee45
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41ee45
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x41ee45
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x41ee45
xor eax, eax
jmp 0x41ee4a
sbb eax, eax
or eax, 1
test eax, eax
jns 0x41eee5
xor ecx, ecx
mov al, byte [ebp + ecx - 0x49c]
sub al, 0x30
cmp al, 9
ja 0x41ee6d
inc ecx
cmp ecx, 8
jl 0x41ee54
jg 0x41efda
cmp byte [edi], 0x2e
lea eax, [ebp - 0x49c]
push eax
jne 0x41eebe
lea eax, [edi + 1]
push eax
push 0
call fcn.00435f20
add eax, 0x18
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.00422060
add esp, 0xc
push eax
lea eax, [ebp - 0x130]
push 0x4a10c0
push eax
call fcn.00401045
add esp, 0x14
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41efda
push edi
lea eax, [ebp - 0x130]
push 0x4b2860
push eax
call fcn.00401045
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41efda
lea ecx, [ebp - 0x49c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41eef0
sub ecx, edx
cmp ecx, 8
jb 0x41efda
lea ecx, [ebp - 0x49c]
mov esi, 4
lea edx, [ebp - 0x25c]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41ef28
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41ef13
xor esi, esi
jmp 0x41ef54
movzx esi, al
movzx eax, byte [edx]
sub esi, eax
jne 0x41ef54
movzx esi, byte [ecx + 1]
movzx eax, byte [edx + 1]
sub esi, eax
jne 0x41ef54
movzx esi, byte [ecx + 2]
movzx eax, byte [edx + 2]
sub esi, eax
jne 0x41ef54
movzx esi, byte [ecx + 3]
movzx eax, byte [edx + 3]
sub esi, eax
test esi, esi
jns 0x41efda
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x49c]
sub al, 0x30
cmp al, 9
ja 0x41efda
inc ecx
cmp ecx, 8
jl 0x41ef60
jne 0x41efda
cmp byte [edi], 0x2e
lea eax, [ebp - 0x49c]
push eax
jne 0x41efb6
lea eax, [edi + 1]
push eax
push 0
call fcn.00435f20
add eax, 0x18
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.00422060
add esp, 0xc
push eax
lea eax, [ebp - 0x130]
push 0x4a10c0
push eax
call fcn.00401045
add esp, 0x14
jmp 0x41efcb
push edi
lea eax, [ebp - 0x130]
push 0x4b2860
push eax
call fcn.00401045
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
call fcn.0041e7a0
add esp, 4
lea eax, [ebp - 0x4c8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41edd2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret