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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x619876
push eax
mov dword fs:[0], esp
sub esp, 0x58c
push ebp
xor ebp, ebp
cmp dword [0x6b2d30], ebp
jne 0x460ad5
mov eax, dword [esp + 0x5a0]
push ebp
push str.VirtualDub_Error
push str.No_input_video_stream_to_process.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
mov ecx, dword [esp + 0x58c]
mov dword fs:[0], ecx
add esp, 0x598
ret
push ebx
push esi
push edi
push ebp
push 1
push 0x6341a8
lea ecx, [esp + 0x20]
call fcn.0051b39f
push ebp
push str.Use_segment_frame_limit
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5ac], ebp
mov dword [esp + 0x28], ebp
call fcn.0051afda
movzx ecx, al
push 0x64
mov dword [esp + 0x28], ecx
push str.Segment_frame_limit
lea ecx, [esp + 0x1c]
call fcn.0051b006
push 0x7d0
push str.Segment_size_limit
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], eax
call fcn.0051b006
push 2
push str.Segment_digit_count
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.0051b006
lea edx, [esp + 0x20]
push edx
push 0x6345c8
push 0x6334cc
push str.VirtualDub_AVI_IO_video_segment__.avi_
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5bc]
push str.Save_segmented_AVI
push eax
lea ecx, [esp + 0x4c]
push 0x66
push ecx
call fcn.00528829
add esp, 0x20
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x38]
mov byte [esp + 0x5a4], 1
je 0x460f81
cmp dword [esp + 0x24], ebp
lea ecx, [esp + 0x14]
setne al
push eax
push str.Use_segment_frame_limit
call fcn.0051aeda
cmp dword [esp + 0x24], ebp
je 0x460bbe
mov ecx, dword [esp + 0x28]
push ecx
push str.Segment_frame_limit
lea ecx, [esp + 0x1c]
call fcn.0051af02
mov edx, dword [esp + 0x2c]
push edx
push str.Segment_size_limit
lea ecx, [esp + 0x1c]
call fcn.0051af02
mov eax, dword [esp + 0x30]
cmp eax, 1
mov dword [esp + 0x18], eax
jge 0x460be8
mov dword [esp + 0x18], 1
jmp 0x460bf5
cmp eax, 0xa
jle 0x460bf5
mov dword [esp + 0x18], 0xa
mov eax, dword [esp + 0x18]
push eax
push str.Segment_digit_count
lea ecx, [esp + 0x1c]
call fcn.0051af02
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0051b61b
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0x290]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x460c23
mov eax, dword [esp + 0x40]
cmp eax, 0x6575c8
je 0x460c45
push eax
call fcn.005f7371
add esp, 4
lea eax, [esp + 0x290]
push eax
call fcn.0051e4af
mov edi, eax
push edi
call fcn.0051e57c
mov esi, eax
push 0x634594
push esi
call fcn.005f80f7
add esp, 0x10
test eax, eax
jne 0x460c9c
cmp esi, edi
jbe 0x460c9c
movsx ecx, byte [esi - 1]
push ecx
call fcn.005f8ba2
add esp, 4
test eax, eax
je 0x460c8c
add esi, 0xffffffff
cmp esi, edi
ja 0x460c72
jmp 0x460c9c
cmp esi, edi
jbe 0x460c9c
cmp byte [esi - 1], 0x2e
jne 0x460c9c
mov dword [esi], 0x697661
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x290]
mov byte [esp + eax + 0x4c], cl
add eax, 1
test cl, cl
jne 0x460ca0
lea edx, [esp + 0x4c]
push edx
call fcn.0051e57c
mov byte [eax], 0
lea eax, [esp + 0x50]
push eax
call fcn.0051e4af
mov dl, byte [eax]
add esp, 8
test dl, dl
lea ecx, [esp + 0x394]
mov byte [esp + 0x394], dl
je 0x460cfa
mov bl, 0x25
add eax, 1
add ecx, 1
cmp byte [eax - 1], bl
jne 0x460cf2
mov byte [ecx], bl
add ecx, 1
mov dl, byte [eax]
test dl, dl
mov byte [ecx], dl
jne 0x460ce2
cmp byte [esp + 0x4c], 0
lea eax, [esp + 0x4c]
je 0x460d0d
add eax, 1
cmp byte [eax], 0
jne 0x460d05
mov ecx, dword [str...avi]
mov dx, word [0x634590]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [eax], ecx
mov cl, byte [0x634592]
mov word [eax + 4], dx
lea edx, [esp + 0x150]
mov byte [eax + 6], cl
push edx
lea eax, [esp + 0x50]
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x460f10
lea eax, [esp + 0x394]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x460d53
mov ecx, dword [str.._d.av_c]
mov edx, dword [0x634584]
mov dword [eax], ecx
mov cl, byte [0x634588]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x39c]
push ecx
lea edx, [esp + 0x188]
push edx
call fcn.005f9357
add esp, 0x10
cmp eax, 2
jne 0x460db4
movsx eax, byte [esp + 0x13]
push eax
call fcn.005f92c8
add esp, 4
cmp eax, 0x69
jne 0x460db4
add ebp, 1
lea ecx, [esp + 0x150]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x460d77
push esi
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
je 0x460f10
cmp ebp, 1
jne 0x460df0
mov ebp, 0x62b258
mov edi, 0x62aa66
mov esi, 0x63457c
jmp 0x460dff
mov ebp, 0x62aa66
mov edi, 0x634578
mov esi, 0x634574
lea edx, [esp + 0x4c]
push edx
call fcn.0051e4af
mov ecx, dword [0x6b48ac]
push eax
mov eax, dword [esp + 0x24]
push ebp
push edi
push eax
push esi
push str.There__s__d_existing_file_s_which_match_s_the_filename_pattern___s_._These_files_will_be_erased_if_you_continue__to_prevent_confusion_with_the_new_files.
push 0x31
push 0x63416c
push ecx
call fcn.0044d210
add esp, 0x28
cmp eax, 1
jne 0x460f81
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x50]
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x460f10
lea eax, [esp + 0x394]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x460e60
mov ecx, dword [str.._d.av_c]
mov edx, dword [0x634584]
mov dword [eax], ecx
mov cl, byte [0x634588]
mov dword [eax + 4], edx
lea edx, [esp + 0x4c]
push edx
mov byte [eax + 8], cl
call fcn.0051e4af
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
mov esi, eax
lea esp, [esp]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x39c]
push edx
lea eax, [esp + 0x188]
push eax
call fcn.005f9357
add esp, 0x10
cmp eax, 2
jne 0x460ef6
movsx ecx, byte [esp + 0x13]
push ecx
call fcn.005f92c8
add esp, 4
cmp eax, 0x69
jne 0x460ef6
lea eax, [esp + 0x17c]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x460ee7
push esi
call ebp
lea edx, [esp + 0x150]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x460ea0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x5b0], 0
je 0x460f59
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [0x6b2d2c]
neg ecx
push 1
sbb ecx, ecx
and ecx, dword [esp + 0x30]
add eax, 8
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 1
push ecx
push 0
push 0x6b4698
push 0x6af1c0
call fcn.00459b50
add esp, 0x28
jmp 0x460f81
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
neg eax
push edx
mov edx, dword [esp + 0x38]
sbb eax, eax
and eax, dword [esp + 0x2c]
push eax
push ecx
push 0
push 0
push edx
call fcn.00415160
add esp, 0x18
mov eax, dword [esp + 0x34]
cmp eax, 0x6575cc
je 0x460f95
push eax
call fcn.005f7371
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x5a4], 0xffffffff
call fcn.0051aec7
mov ecx, dword [esp + 0x59c]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x598
ret