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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0040ba50
mov dword [ebp - 0x14], eax
push 0x4c3218
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00405640
push str..dmp
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00406760
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x34]
call fcn.004059d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a508
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [ebp - 0x18]
nop dword [eax]
test byte [ebp - 0x1a4], 0x10
jne 0x40a4f6
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004056a0
push ebx
push eax
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b890
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x40a4f6
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x1000
jb 0x40a4ed
test cl, 0x1f
jne 0x40a608
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40a608
sub ecx, eax
cmp ecx, 4
jb 0x40a608
cmp ecx, 0x23
ja 0x40a608
mov ecx, eax
push ecx
call fcn.0044a980
add esp, 4
lea eax, [ebp - 0x1a4]
push eax
push esi
call edi
test eax, eax
jne 0x40a480
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x4c3260]
cmp ebx, eax
jbe 0x40a63a
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
sub ebx, eax
mov esi, dword [esi]
call fcn.00405620
xor edi, edi
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x14]
je 0x40a5ec
nop dword [eax]
cmp edi, ebx
jae 0x40a5ec
push 0x48bde8
lea eax, [ebp - 0x4c]
push 0x4c3218
push eax
call fcn.00406910
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00405700
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x40a584
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00401a60
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406740
lea ecx, [ebp - 0x64]
call fcn.004059d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi + 0xd], 0
jne 0x40a5e2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40a5c4
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40a5e2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x40a5b8
jmp 0x40a5e2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40a5e0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x40a5e0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40a5d0
mov esi, eax
inc edi
cmp esi, dword [ebp - 0x14]
jne 0x40a540
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x40a63a
mov ecx, dword [ebp - 0x64]
inc eax
cmp eax, 0x1000
jb 0x40a631
test cl, 0x1f
je 0x40a60d
call fcn.0045f8f8
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40a619
call fcn.0045f8f8
sub ecx, eax
cmp ecx, 4
jae 0x40a625
call fcn.0045f8f8
cmp ecx, 0x23
jbe 0x40a62f
call fcn.0045f8f8
mov ecx, eax
push ecx
call fcn.0044a980
add esp, 4
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0
pop edi
pop esi
pop ebx
cmp eax, 0x10
jb 0x40a68b
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, 0x1000
jb 0x40a682
test cl, 0x1f
je 0x40a65e
call fcn.0045f8f8
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40a66a
call fcn.0045f8f8
sub ecx, eax
cmp ecx, 4
jae 0x40a676
call fcn.0045f8f8
cmp ecx, 0x23
jbe 0x40a680
call fcn.0045f8f8
mov ecx, eax
push ecx
call fcn.0044a980
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bb50
push dword [ebp - 0x14]
call fcn.0044a980
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret