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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f920
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 0x14
jb 0x4029ea
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 0x14
push str.C:WindowsPrefetch_
push ecx
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x40]
call fcn.0040fa80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402957
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax + eax]
lea eax, [ebp - 0x154]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x188], 0
lea edx, [eax + 1]
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402850
sub eax, edx
lea ecx, [ebp - 0x198]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.0040c3d0
push 0x14
push str.C:WindowsPrefetch_
push ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 2
call fcn.0040c320
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x184]
cmp edx, 0x10
jb 0x4028f8
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4028ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029bf
push edx
push ecx
call fcn.0041e9db
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40293e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402934
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029bf
push edx
push ecx
call fcn.0041e9db
add esp, 8
lea eax, [ebp - 0x180]
push eax
push esi
call edi
test eax, eax
jne 0x402820
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x402987
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40297d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029bf
push edx
push ecx
call fcn.0041e9db
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x4029cf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4029c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041e9db
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
call fcn.00401600
int3