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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403060
push 0x45c1d4
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 [0x45ec14]
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 0x40ab14
push dword [ebp + 0xc]
push 0x40ab08
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 0x456d71
or dword [ebp - 4], eax
xor eax, eax
jmp 0x457303
push 0x40ab04
lea eax, [ebp - 0x450]
push eax
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
call edi
pop ecx
pop ecx
test eax, eax
je 0x4572b0
push 0x40aafc
lea eax, [ebp - 0x450]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4572b0
test byte [ebp - 0x47c], 0x10
je 0x4570dc
cmp dword [0x472870], ebx
je 0x456dc9
test byte [ebp - 0x47c], 2
jne 0x4570dc
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab2c
push 0x104
lea eax, [ebp - 0x89c]
push eax
call esi
add esp, 0x14
mov word [ebp - 0x696], bx
cmp dword [ebp + 0x14], ebx
je 0x456f05
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.00454fe9
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.00456cc4
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab08
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 0x456e77
xor edi, edi
jmp 0x456ebf
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.0045c140
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.00457b3f
pop ecx
test eax, eax
je 0x456edc
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004549db
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.00454a12
test al, 0x20
je 0x4572b0
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004581cc
jmp 0x4572b0
cmp dword [ebp + 0x1c], ebx
je 0x456ffe
mov ax, word [0x45ec14]
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, 0x410664
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jbe 0x456fd4
mov dword [ebp - 0x690], edx
mov eax, edx
test eax, eax
jne 0x456f7b
xor esi, esi
jmp 0x456fb7
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.0045c140
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0xebc], esi
mov word [esi], bx
push edi
push esi
push 0xffffffffffffffff
push 0x410664
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.00456cc4
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
jmp 0x4572b0
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.00454fe9
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.00456cc4
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab08
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 0x45706e
xor edi, edi
jmp 0x4570b6
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.0045c140
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.00457b3f
pop ecx
test eax, eax
je 0x456ef2
push 8
push 8
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004549db
jmp 0x456ef2
cmp dword [ebp + 0x1c], ebx
jne 0x4572b0
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab08
push 0x104
lea eax, [ebp - 0xeb4]
push eax
call esi
add esp, 0x14
mov word [ebp - 0xcae], bx
cmp dword [0x472870], ebx
je 0x457121
test byte [ebp - 0x47c], 2
jne 0x4572b0
lea eax, [ebp - 0x450]
push eax
call fcn.00426792
pop ecx
test eax, eax
je 0x45713e
mov dword [ebp - 0x688], 4
jmp 0x45715d
lea eax, [ebp - 0x450]
push eax
call fcn.004267f1
pop ecx
test eax, eax
je 0x4572b0
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 0x4571ad
push 1
push dword [ebp - 0x688]
movzx eax, word [ebp + 0x18]
or eax, 0x20000
push eax
jmp 0x4571b6
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.00454fe9
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 0xc]
push 0x40ab08
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 0x457208
xor edi, edi
jmp 0x457253
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.0045c140
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.00457b3f
pop ecx
test eax, eax
je 0x4572b0
lea eax, [ebp - 0x450]
push eax
call fcn.00426792
pop ecx
test eax, eax
je 0x45727b
mov dword [ebp - 0x688], 9
jmp 0x457296
lea eax, [ebp - 0x450]
push eax
call fcn.004267f1
pop ecx
test eax, eax
je 0x457296
mov dword [ebp - 0x688], 7
push dword [ebp - 0x688]
push dword [ebp - 0x688]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xec8]
call fcn.004549db
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456d71
push dword [ebp - 0x68c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x68c], 0xffffffff
jmp 0x4572fc
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