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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5139e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x569f5c]
xor eax, dword [ebp + 4]
push ebx
push esi
push 0x531b7c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00403c10
mov ecx, dword [eax + 0x18]
mov ebx, 0x10
add esp, 0xc
cmp ecx, ebx
jb 0x45c15e
mov eax, dword [eax + 4]
jmp 0x45c161
add eax, 4
lea ecx, [ebp - 0x1a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], esi
jb 0x45c185
mov edx, dword [ebp - 0x40]
push edx
call fcn.004fb06d
add esp, 4
cmp esi, 0xffffffff
je 0x45c32e
mov al, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.0044edd0
mov dword [ebp - 0x1c], eax
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], eax
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov dword [eax + 8], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
jmp 0x45c1c3
mov ebx, 0x10
push str._d.dmo
lea ecx, [ebp - 0x44]
push edi
push ecx
mov dword [ebp - 0x28], esi
call fcn.00403c10
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, ebx
jb 0x45c1e4
mov eax, dword [eax + 4]
jmp 0x45c1e7
add eax, 4
lea edx, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.004fd8f2
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x2c]
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x45c218
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004fb06d
add esp, 4
test bl, bl
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x40], 0
je 0x45c23a
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00456c30
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1a8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45c1be
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [esi]
dec ecx
cmp eax, ecx
jle 0x45c304
mov al, byte [ebp + 0xc]
test al, al
je 0x45c304
push str._d.dmo
lea edx, [ebp - 0x68]
push edi
push edx
call fcn.00403c10
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [ebp - 4], 1
jb 0x45c2a3
mov eax, dword [eax + 4]
jmp 0x45c2a6
add eax, 4
mov ecx, dword [ebx + 0xc]
push ecx
push eax
lea edx, [ebp - 0x44]
push edx
call fcn.0049fc60
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, esi
jb 0x45c2c3
mov eax, dword [eax + 4]
jmp 0x45c2c6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x2c], esi
jb 0x45c2de
mov eax, dword [ebp - 0x40]
push eax
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x50], esi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x45c301
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004fb06d
add esp, 4
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x45c332
mov eax, dword [esi]
push esi
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00457490
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004fb06d
add esp, 4
xor eax, eax
jmp 0x45c368
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.0044e240
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
mov ebx, dword [ecx + 0xc]
push esi
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00457490
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004fb06d
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004fb7a4
mov esp, ebp
pop ebp
ret