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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403018
push 0x45db24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xeb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0xec8], ecx
or dword [ebp - 0x68c], 0xffffffff
mov ax, word [0x4605b4]
mov word [ebp - 0x22c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40aaf0
push dword [ebp + 0xc]
push 0x40aae4
push 0x104
lea eax, [ebp - 0x684]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x14
xor ebx, ebx
mov word [ebp - 0x47e], bx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x68c], eax
cmp eax, 0xffffffff
jne 0x458601
or dword [ebp - 4], eax
xor eax, eax
jmp 0x458b93
push 0x40aae0
lea eax, [ebp - 0x450]
push eax
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
call edi
pop ecx
pop ecx
test eax, eax
je 0x458b40
push 0x40aad8
lea eax, [ebp - 0x450]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x458b40
test byte [ebp - 0x47c], 0x10
je 0x45896c
cmp dword [0x4753a0], ebx
je 0x458659
test byte [ebp - 0x47c], 2
jne 0x45896c
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab08
push 0x104
lea eax, [ebp - 0x89c]
push eax
call esi
add esp, 0x14
mov word [ebp - 0x696], bx
cmp dword [ebp + 0x14], ebx
je 0x458795
push 1
push 2
movzx eax, word [ebp + 0x18]
or eax, 0x10000
push eax
mov edi, dword [ebp + 0x10]
push edi
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xec8]
call fcn.00456879
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 1
inc edi
push edi
lea ecx, [ebp - 0x89c]
push ecx
push eax
mov ecx, dword [ebp - 0xec8]
call fcn.00458554
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40aae4
push 0x207
lea eax, [ebp - 0x22c]
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x22c]
test eax, eax
jne 0x458707
xor edi, edi
jmp 0x45874f
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x694], eax
add eax, 3
and al, 0xfc
call fcn.0045da90
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0xeb8], edi
mov byte [edi], bl
push ebx
push ebx
push dword [ebp - 0x694]
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.004593cf
pop ecx
test eax, eax
je 0x45876c
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.0045626b
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004562a2
test al, 0x20
je 0x458b40
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.00459a5c
jmp 0x458b40
cmp dword [ebp + 0x1c], ebx
je 0x45888e
mov ax, word [0x4605b4]
mov word [ebp - 0xaa4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xaa2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x208
push esi
lea eax, [ebp - 0xaa4]
push eax
lea eax, [ebp - 0x89c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0xaa4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
sub esi, eax
mov edx, 0x410e28
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jbe 0x458864
mov dword [ebp - 0x690], edx
mov eax, edx
test eax, eax
jne 0x45880b
xor esi, esi
jmp 0x458847
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
mov dword [ebp - 0x694], edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0045da90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0xebc], esi
mov word [esi], bx
push edi
push esi
push 0xffffffffffffffff
push 0x410e28
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea eax, [ebp - 0xaa4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0xaa4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0x1c]
push ebx
push ebx
mov eax, dword [ebp + 0x10]
inc eax
push eax
lea eax, [ebp - 0x89c]
push eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.00458554
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
jmp 0x458b40
push ebx
push 2
push 1
mov edi, dword [ebp + 0x10]
push edi
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xec8]
call fcn.00456879
mov dword [ebp - 0x1c], eax
push ebx
push ebx
push ebx
inc edi
push edi
lea ecx, [ebp - 0x89c]
push ecx
push eax
mov ecx, dword [ebp - 0xec8]
call fcn.00458554
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40aae4
push 0x207
lea eax, [ebp - 0x22c]
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x22c]
test eax, eax
jne 0x4588fe
xor edi, edi
jmp 0x458946
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x694], eax
add eax, 3
and al, 0xfc
call fcn.0045da90
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0xec0], edi
mov byte [edi], bl
push ebx
push ebx
push dword [ebp - 0x694]
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.004593cf
pop ecx
test eax, eax
je 0x458782
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.0045626b
jmp 0x458782
cmp dword [ebp + 0x1c], ebx
jne 0x458b40
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40aae4
push 0x104
lea eax, [ebp - 0xeb4]
push eax
call esi
add esp, 0x14
mov word [ebp - 0xcae], bx
cmp dword [0x4753a0], ebx
je 0x4589b1
test byte [ebp - 0x47c], 2
jne 0x458b40
lea eax, [ebp - 0x450]
push eax
call fcn.00426f05
pop ecx
test eax, eax
je 0x4589ce
mov dword [ebp - 0x688], 4
jmp 0x4589ed
lea eax, [ebp - 0x450]
push eax
call fcn.00426f64
pop ecx
test eax, eax
je 0x458b40
mov dword [ebp - 0x688], 3
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0xcac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 4
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xcac]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x10
cmp dword [ebp + 0x14], ebx
je 0x458a3d
push 1
push dword [ebp - 0x688]
movzx eax, word [ebp + 0x18]
or eax, 0x20000
push eax
jmp 0x458a46
push ebx
push dword [ebp - 0x688]
push 2
push dword [ebp + 0x10]
lea eax, [ebp - 0xcac]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xec8]
call fcn.00456879
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40aae4
push 0x207
lea eax, [ebp - 0x22c]
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x22c]
test eax, eax
jne 0x458a98
xor edi, edi
jmp 0x458ae3
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov dword [ebp - 0x694], esi
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0045da90
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0xec4], edi
mov byte [edi], bl
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
call fcn.004593cf
pop ecx
test eax, eax
je 0x458b40
lea eax, [ebp - 0x450]
push eax
call fcn.00426f05
pop ecx
test eax, eax
je 0x458b0b
mov dword [ebp - 0x688], 9
jmp 0x458b26
lea eax, [ebp - 0x450]
push eax
call fcn.00426f64
pop ecx
test eax, eax
je 0x458b26
mov dword [ebp - 0x688], 7
push dword [ebp - 0x688]
push dword [ebp - 0x688]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.0045626b
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458601
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x68c], 0xffffffff
jmp 0x458b8c
or dword [ebp - 4], 0xffffffff
push 1
pop eax
lea esp, [ebp - 0xed4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x18