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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8a5f
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x57b750]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x57b750]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x3c]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x40], ebx
call fcn.004be850
add esp, 0xc
xor eax, eax
call fcn.0045ecbf
push 0x208
lea eax, [esp + 0x288]
push ebx
push eax
call fcn.004be850
add esp, 0xc
lea eax, [esp + 0x284]
push eax
call fcn.00473873
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x1c]
call fcn.004024df
push str..log
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4ac], ebx
call fcn.0040210c
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov dword [esp + 0x14], eax
call fcn.004027b0
cmp dword [esp + 0x14], 0xffffffff
je 0x45e7d3
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5231e4
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x45e7b2
push 0x547160
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x45e7b2
test byte [esp + 0x34], 4
jne 0x45e7b2
test dword [esp + 0x34], 0x400
jne 0x45e7b2
call fcn.00499991
push eax
lea ecx, [esp + 0x24]
call fcn.004727f7
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4a4], 1
call fcn.004026bd
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
call fcn.00446acd
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 8]
cmp edi, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jl 0x45e7eb
lea eax, [edi + 1]
call fcn.0045ecbf
imul edi, edi, 0xc
add edi, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0040257e
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4a0], bl
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
mov dword [edi + 8], eax
call fcn.004027b0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e6dc
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 8]
cmp edi, 5
jge 0x45e7f0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
mov al, 1
jmp 0x45e860
call fcn.004998d4
push esi
mov ecx, esi
call fcn.0045e5a9
jmp 0x45e84c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.0040228a
mov eax, edi
mov ecx, esi
mov byte [esp + 0x4a0], 2
call fcn.0045ec1d
push ecx
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.0040228a
lea ecx, [esp + 0x18]
call fcn.004067db
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x4a0], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
dec edi
cmp edi, 4
jg 0x45e7fa
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
xor al, al
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.004b96ff
mov esp, ebp
pop ebp
ret