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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5081cc
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5ff740]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
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.004e38a0
add esp, 0xc
xor eax, eax
call fcn.0045979a
push 0x208
lea eax, [esp + 0x288]
push ebx
push eax
call fcn.004e38a0
add esp, 0xc
lea eax, [esp + 0x284]
push eax
call fcn.00482496
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040253b
push 0x5c1910
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4ac], ebx
call fcn.00402187
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.0040285b
cmp dword [esp + 0x14], 0xffffffff
je 0x458a4e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5af644
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x458a2d
push 0x5bc960
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x458a2d
test byte [esp + 0x34], 4
jne 0x458a2d
test dword [esp + 0x34], 0x400
jne 0x458a2d
call fcn.004be6f3
push eax
lea ecx, [esp + 0x24]
call fcn.004027f9
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.00402719
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
call fcn.00437dbb
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 0x458a66
lea eax, [edi + 1]
call fcn.0045979a
imul edi, edi, 0xc
add edi, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004025da
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.0040285b
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458957
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 8]
cmp edi, 5
jge 0x458a6b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov al, 1
jmp 0x458adb
call fcn.004be614
push esi
mov ecx, esi
call fcn.00458824
jmp 0x458ac7
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00402305
mov eax, edi
mov ecx, esi
mov byte [esp + 0x4a0], 2
call fcn.004596f8
push ecx
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.00402305
lea ecx, [esp + 0x18]
call fcn.00406dee
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.0040285b
dec edi
cmp edi, 4
jg 0x458a75
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
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.004de422
mov esp, ebp
pop ebp
ret