Function at 0x414ff3
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
and dword [ebp - 0x10], 0
push 0xd1b9
mov dword [ebp - 0x1c], 1
mov byte [ebp - 1], 1
mov byte [ebp - 2], 0
call fcn.00401000
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41558e
push ebx
push esi
push edi
lea edi, [eax + 0x208]
lea ebx, [edi + 0x140]
lea esi, [ebx + 0xccf5]
lea ecx, [esi + 0x154]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x20]
push dword [ecx]
mov dword [ebp - 0xc], esi
push dword [ebp + 0x18]
mov dword [ebp - 0x18], edi
push str._s___d_
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 0x18]
call fcn.00402610
push 0x43a630
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x18]
call fcn.00404046
test eax, eax
jne 0x41558b
push 0x4445b4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x41558b
add edi, 0x2c
mov dword [ebp - 0x20], edi
push edi
call fcn.00402642
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
test byte [eax], 0x10
je 0x415183
push 0x4445ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415548
push 0x4445b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415548
cmp dword [0x444bc8], 0
jne 0x415123
push str.RECYCLED
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x415548
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0x18]
lea eax, [eax + ecx + 4]
cmp eax, 0x104
jge 0x415199
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
push dword [ebp - 8]
call fcn.00401255
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414ff3
mov dword [ebp - 0x10], eax
test eax, eax
je 0x415582
mov dword [ebp - 0x1c], 1
jmp 0x415548
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0x18]
add eax, ecx
cmp eax, 0x104
jl 0x4151aa
push dword [ebp - 0x24]
push edi
push dword [ebp + 0x18]
call fcn.00414efc
jmp 0x415548
push 0x43a628
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4151d2
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415548
cmp dword [ebp + 0x1c], 0
je 0x4151e9
push dword [ebp + 0x1c]
push edi
call fcn.0040273c
test eax, eax
je 0x415548
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
xor eax, eax
or eax, ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x54]
xor edx, edx
or eax, edx
mov dword [ebp - 0x44], eax
cmp byte [ebp - 1], dl
je 0x415226
mov byte [ebp - 1], dl
cmp dword [ebp + 0x14], edx
je 0x415226
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004049d9
test eax, eax
je 0x415226
mov byte [ebp - 2], 1
cmp byte [ebp - 2], 0
jne 0x415543
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x1c], 0
je 0x415248
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x41524b
mov dword [ebp - 0x14], edi
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
call fcn.004054c8
movzx eax, word [ebp - 0x5c]
push eax
movzx eax, word [ebp - 0x5e]
push eax
movzx eax, word [ebp - 0x60]
push eax
movzx eax, word [ebp - 0x62]
push eax
movzx eax, word [ebp - 0x66]
push eax
movzx eax, word [ebp - 0x68]
push eax
lea eax, [esi + 0x50]
push str._d__02d__02d__02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 0x20
push 0x4445c2
push dword [ebp - 0x38]
call edi
test eax, eax
jne 0x41547a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x18]
call fcn.00407817
push dword [ebp - 0x28]
mov edi, esi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00414f82
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x34]
mov byte [esi], 0
test eax, eax
jle 0x415303
push 0
add eax, 0x32
push eax
lea eax, [esi + 2]
push eax
mov byte [esi], 0x20
mov byte [esi + 1], 0x22
call fcn.00407a77
push 0x22
push esi
call fcn.00401255
push ebx
push dword [ebp + 0x18]
call fcn.004076a4
push ebx
call fcn.00414ed9
lea edi, [ebx + 0x1f]
push edi
call fcn.00414ed9
lea esi, [ebx + 0x3e]
push esi
call fcn.00414ed9
lea eax, [ebx + 0x62]
push eax
call fcn.00414ed9
lea eax, [ebx + 0x5d]
push eax
call fcn.00414ed9
push dword [ebp - 0x34]
movzx eax, byte [ebx + 0x80]
push dword [ebp - 0xc]
push eax
call fcn.00407120
push eax
lea eax, [ebx + 0x62]
push eax
lea eax, [ebx + 0x5d]
push eax
movzx eax, byte [ebx + 0x7f]
push esi
push edi
push ebx
push eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x48]
add eax, 0x50
push eax
push dword [ebp - 0x14]
lea edi, [ebx + 0x81]
push str.__s____s____llu__d___s____s____s____s____s____s____s__s_r_n
push edi
call fcn.004061e5
add esp, 0x3c
push 0
push edi
push dword [ebp + 0x10]
call fcn.0040476d
lea eax, [ebp - 0x50]
push eax
call fcn.00407193
push dword [ebp + 0x18]
lea eax, [ebp - 0x50]
push eax
call fcn.004072bf
test eax, eax
je 0x415469
mov byte [edi], 0x5c
inc edi
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4153b9
mov byte [edi], 0x20
inc edi
lea esi, [eax*4 + str.TIT2TPE1TALBTYERCOMMTCONTRCKTCOMTOPETCOPWXXXTENCDefCDRomDrv]
xor ecx, ecx
mov byte [edi], 0x22
mov eax, dword [esi]
inc edi
cmp eax, 0x4d4d4f43
setne cl
dec ecx
and ecx, 0xc24c
add ecx, 0x104
push ecx
push edi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00407372
mov esi, dword [esi]
cmp esi, 0x4d4d4f43
jne 0x4153fd
push 1
push edi
call fcn.00402371
jmp 0x415425
cmp esi, 0x4e4f4354
jne 0x415425
cmp byte [edi], 0x28
jne 0x415425
mov byte [ebp - 3], 0x28
push 0
push edi
call fcn.004012af
cmp byte [ebp - 3], 0x29
je 0x415425
mov al, byte [edi]
mov byte [ebp - 3], al
test al, al
jne 0x41540e
push edi
call fcn.00414ed9
push 0x22
push edi
call fcn.00401255
push edi
call fcn.004019bf
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
mov edi, eax
jb 0x4153ae
push 0xd
push edi
call fcn.00401255
push 0xa
push edi
call fcn.00401255
push 0
lea eax, [ebx + 0x81]
push eax
push dword [ebp + 0x10]
call fcn.0040476d
lea eax, [ebp - 0x50]
push eax
call fcn.004071a1
mov esi, dword [ebp - 0xc]
jmp 0x415540
push 0x4445bc
push dword [ebp - 0x38]
call edi
test eax, eax
jne 0x415514
push dword [ebp + 0x18]
call fcn.00407afa
mov esi, eax
test esi, esi
je 0x415511
push dword [esi]
call fcn.00414ed9
push dword [esi + 4]
call fcn.00414ed9
push dword [esi + 8]
call fcn.00414ed9
push dword [esi + 0xc]
call fcn.00414ed9
push dword [esi + 0x10]
call fcn.00414ed9
push dword [esi + 0x14]
mov eax, dword [ebp - 0xc]
push dword [esi + 0x10]
add eax, 0x50
push dword [esi + 0xc]
lea edi, [ebx + 0x81]
push 0x445f80
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push eax
push dword [ebp - 0x14]
push str.__s____s____llu_0___s____s____s____s____s____s____s__r_n
push edi
call fcn.004061e5
add esp, 0x34
push esi
call fcn.00401019
push 0
push edi
push dword [ebp + 0x10]
call fcn.0040476d
jmp 0x415472
mov esi, dword [ebp - 0xc]
push dword [ebp - 0x44]
lea eax, [esi + 0x50]
push dword [ebp - 0x48]
lea edi, [ebx + 0x81]
push eax
push dword [ebp - 0x14]
push str.__s____s____llu_r_n
push edi
call fcn.004061e5
add esp, 0x18
push 0
push edi
push dword [ebp + 0x10]
call fcn.0040476d
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x20]
inc dword [eax]
cmp dword [ebp + 0x24], 0
jne 0x41555f
push dword [ebp + 8]
call fcn.004053ad
mov dword [ebp - 0x10], eax
test eax, eax
je 0x415582
jmp 0x415568
cmp byte [0x446036], 0
jne 0x41557e
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4150c3
jmp 0x415582
and dword [ebp - 0x10], 0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
push dword [ebp - 0x24]
call fcn.00401019
mov eax, dword [ebp - 0x10]
leave
ret 0x20