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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce539
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x55c6c0]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x55c6c0]
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.004adda0
add esp, 0xc
xor eax, eax
call fcn.0045096d
push 0x208
lea eax, [esp + 0x288]
push ebx
push eax
call fcn.004adda0
add esp, 0xc
lea eax, [esp + 0x284]
push eax
call fcn.00461f0d
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040255d
push 0x531014
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4ac], ebx
call fcn.004021ba
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.00402883
cmp dword [esp + 0x14], 0xffffffff
je 0x4505ee
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5201c4
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x4505cd
push 0x52d0e0
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
je 0x4505cd
test byte [esp + 0x34], 4
jne 0x4505cd
test dword [esp + 0x34], 0x400
jne 0x4505cd
call fcn.0048aa29
push eax
lea ecx, [esp + 0x24]
call fcn.00402840
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.0040276b
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
call fcn.0043583c
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 0x450606
lea eax, [edi + 1]
call fcn.0045096d
imul edi, edi, 0xc
add edi, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0040262c
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.00402883
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4504f7
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 8]
cmp edi, 5
jge 0x45060b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
mov al, 1
jmp 0x45067b
call fcn.0048a94a
push esi
mov ecx, esi
call fcn.004503c4
jmp 0x450667
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004025a1
mov eax, edi
mov ecx, esi
mov byte [esp + 0x4a0], 2
call fcn.004508cb
push ecx
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.004025a1
lea ecx, [esp + 0x18]
call fcn.00406d13
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.00402883
dec edi
cmp edi, 4
jg 0x450615
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
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.004aa206
mov esp, ebp
pop ebp
ret