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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403020
push 0x45ea34
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 [0x4613e4]
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 0x45953c
or dword [ebp - 4], eax
xor eax, eax
jmp 0x459ace
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 0x459a7b
push 0x40aad8
lea eax, [ebp - 0x450]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x459a7b
test byte [ebp - 0x47c], 0x10
je 0x4598a7
cmp dword [0x4766d4], ebx
je 0x459594
test byte [ebp - 0x47c], 2
jne 0x4598a7
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 0x4596d0
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.004577b6
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.0045948f
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 0x459642
xor edi, edi
jmp 0x45968a
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.0045e9a0
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.0045a30a
pop ecx
test eax, eax
je 0x4596a7
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004571a8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004571df
test al, 0x20
je 0x459a7b
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.0045a997
jmp 0x459a7b
cmp dword [ebp + 0x1c], ebx
je 0x4597c9
mov ax, word [0x4613e4]
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, 0x411228
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jbe 0x45979f
mov dword [ebp - 0x690], edx
mov eax, edx
test eax, eax
jne 0x459746
xor esi, esi
jmp 0x459782
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.0045e9a0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0xebc], esi
mov word [esi], bx
push edi
push esi
push 0xffffffffffffffff
push 0x411228
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.0045948f
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
jmp 0x459a7b
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.004577b6
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.0045948f
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 0x459839
xor edi, edi
jmp 0x459881
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.0045e9a0
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.0045a30a
pop ecx
test eax, eax
je 0x4596bd
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004571a8
jmp 0x4596bd
cmp dword [ebp + 0x1c], ebx
jne 0x459a7b
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 [0x4766d4], ebx
je 0x4598ec
test byte [ebp - 0x47c], 2
jne 0x459a7b
lea eax, [ebp - 0x450]
push eax
call fcn.004272f6
pop ecx
test eax, eax
je 0x459909
mov dword [ebp - 0x688], 4
jmp 0x459928
lea eax, [ebp - 0x450]
push eax
call fcn.00427355
pop ecx
test eax, eax
je 0x459a7b
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 0x459978
push 1
push dword [ebp - 0x688]
movzx eax, word [ebp + 0x18]
or eax, 0x20000
push eax
jmp 0x459981
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.004577b6
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 0x4599d3
xor edi, edi
jmp 0x459a1e
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.0045e9a0
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.0045a30a
pop ecx
test eax, eax
je 0x459a7b
lea eax, [ebp - 0x450]
push eax
call fcn.004272f6
pop ecx
test eax, eax
je 0x459a46
mov dword [ebp - 0x688], 9
jmp 0x459a61
lea eax, [ebp - 0x450]
push eax
call fcn.00427355
pop ecx
test eax, eax
je 0x459a61
mov dword [ebp - 0x688], 7
push dword [ebp - 0x688]
push dword [ebp - 0x688]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004571a8
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45953c
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x68c], 0xffffffff
jmp 0x459ac7
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