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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af96
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.00404080
mov dword [ebp - 0x14], eax
push 0x4b23d0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00406a80
push str..dmp
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00407ba0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406e10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x410458
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [ebp - 0x18]
nop dword [eax]
test byte [ebp - 0x1a4], 0x10
jne 0x410446
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406ae0
push ebx
push eax
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.004117e0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x410446
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x1000
jb 0x41043d
test cl, 0x1f
jne 0x410558
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x410558
sub ecx, eax
cmp ecx, 4
jb 0x410558
cmp ecx, 0x23
ja 0x410558
mov ecx, eax
push ecx
call fcn.0043edb0
add esp, 4
lea eax, [ebp - 0x1a4]
push eax
push esi
call edi
test eax, eax
jne 0x4103d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x4b2418]
cmp ebx, eax
jbe 0x41058a
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
sub ebx, eax
mov esi, dword [esi]
call fcn.00406a60
xor edi, edi
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x14]
je 0x41053c
nop dword [eax]
cmp edi, ebx
jae 0x41053c
push 0x47ef64
lea eax, [ebp - 0x4c]
push 0x4b23d0
push eax
call fcn.00407d50
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00406b40
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x4104d4
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00420790
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00407b80
lea ecx, [ebp - 0x64]
call fcn.00406e10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi + 0xd], 0
jne 0x410532
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x410514
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x410532
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x410508
jmp 0x410532
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x410530
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x410530
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x410520
mov esi, eax
inc edi
cmp esi, dword [ebp - 0x14]
jne 0x410490
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41058a
mov ecx, dword [ebp - 0x64]
inc eax
cmp eax, 0x1000
jb 0x410581
test cl, 0x1f
je 0x41055d
call fcn.00453798
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x410569
call fcn.00453798
sub ecx, eax
cmp ecx, 4
jae 0x410575
call fcn.00453798
cmp ecx, 0x23
jbe 0x41057f
call fcn.00453798
mov ecx, eax
push ecx
call fcn.0043edb0
add esp, 4
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0
pop edi
pop esi
pop ebx
cmp eax, 0x10
jb 0x4105db
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, 0x1000
jb 0x4105d2
test cl, 0x1f
je 0x4105ae
call fcn.00453798
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4105ba
call fcn.00453798
sub ecx, eax
cmp ecx, 4
jae 0x4105c6
call fcn.00453798
cmp ecx, 0x23
jbe 0x4105d0
call fcn.00453798
mov ecx, eax
push ecx
call fcn.0043edb0
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.00411a40
push dword [ebp - 0x14]
call fcn.0043edb0
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret