Function at 0x402c44
Capabilities:
Delete file

Disassembly:
sub esp, 0x230
mov eax, dword [0x6fd284]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x402c67
mov byte [esi + 0xd], 1
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00404e9c
add esp, 0x230
ret
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3ed
push eax
mov byte [esi + 0xc], 1
call edi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
mov ecx, dword [esi + 4]
push 0
push 0x3ee
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 4]
push str.Stop
push 0x3ef
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 8]
push 0
push eax
call ebp
mov ecx, dword [esi + 4]
push 0
push 0x3ec
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 4]
push 0x200
push section..data
push 0x3ec
push edx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
xor eax, eax
mov cl, byte [eax + section..data]
mov byte [esp + eax + 0x3c], cl
add eax, 1
test cl, cl
jne 0x402ce1
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d00
sub eax, edx
lea eax, [esp + eax + 0x3c]
lea ecx, [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jbe 0x402d2b
cmp byte [eax - 1], 0x5c
je 0x402d2b
mov byte [eax], 0x5c
add eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xffffffffffffffff
push 0x100c
push edx
call ebx
mov edi, eax
test edi, edi
jl 0x402f36
mov ebp, dword [esp + 0x10]
mov edi, edi
cmp edi, dword [0x70c978]
jge 0x402f30
mov eax, dword [esi + 8]
push 0xf000
push edi
push 0x102c
push eax
call ebx
cmp eax, 0x2000
jne 0x402ec1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
lea ecx, [esp + 0x240]
sub ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
push 0x102d
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], ecx
call ebx
mov eax, dword [0x6fd214]
sub eax, 0
je 0x402e5f
sub eax, 1
je 0x402e12
sub eax, 1
jne 0x402e9a
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402dd0
mov ecx, dword [str..mpg]
mov dl, byte [0x680470]
push edi
mov dword [eax], ecx
push 0x402a80
mov byte [eax + 4], dl
mov eax, dword [edi*4 + 0x70c7ec]
push 2
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x70c7c0
call fcn.00401360
movzx ebp, al
jmp 0x402e9a
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402e20
mov edx, dword [str..avi]
mov cl, byte [0x680468]
push edi
push 0x402a80
mov dword [eax], edx
mov edx, dword [edi*4 + 0x70c7ec]
push 1
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x70c7c0
call fcn.00401360
movzx ebp, al
jmp 0x402e9a
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402e66
mov ecx, dword [str..vob]
mov dl, byte [0x680460]
mov dword [eax], ecx
mov ecx, dword [edi*4 + 0x70c7ec]
push edi
mov byte [eax + 4], dl
push 0x402a80
lea eax, [esp + 0x44]
push eax
call fcn.00403e40
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], 2
jl 0x402edb
je 0x402f0c
mov edx, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x102e
push edx
mov dword [esp + 0x38], str.done
call ebx
mov eax, dword [esi + 8]
push 0
push edi
push 0x100c
push eax
call ebx
mov edi, eax
test edi, edi
jge 0x402d50
jmp 0x402f30
mov edx, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x102e
push edx
mov dword [esp + 0x38], str.error
call ebx
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x40]
push eax
push str.Error
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402f30
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push edi
push 0x102e
push eax
mov dword [esp + 0x38], str.aborted
call ebx
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x3ed
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 4]
push 1
push 0x3ee
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 4]
push str.Rip__
push 0x3ef
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 8]
push 1
push edx
call ebp
mov eax, dword [esi + 4]
push 1
push 0x3ec
push eax
call edi
push eax
call ebp
mov ecx, dword [esp + 0x23c]
pop edi
pop ebp
pop ebx
mov byte [esi + 0xd], 0
mov byte [esi + 0xc], 0
pop esi
xor ecx, esp
call fcn.00404e9c
add esp, 0x230
ret