Function at 0x40d4f0
Capabilities:
Delete file

Disassembly:
sub esp, 0xc68
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0xc64], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc78]
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea edi, [esi + 0x884]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call fcn.004320b0
test eax, eax
jne 0x40d7f3
mov eax, dword [0x4dec94]
mov ecx, dword [0x4dec90]
mov edx, dword [0x4dec8c]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push ecx
push edx
push 0x4dec98
lea eax, [esp + 0x484]
push str._s__d._d._03d
push eax
call ebp
add esp, 0x18
lea ecx, [esp + 0x474]
push ecx
push str.Version
push edi
call fcn.00431d00
test eax, eax
jne 0x40d7f3
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x478]
push str._02d__Zulu_Data_Document_
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x474]
push ecx
push str.Type
push edi
call fcn.00431d00
test eax, eax
jne 0x40d7f3
mov eax, dword [esi + 0x1a0]
push 0x20
lea edx, [esp + 0x478]
push edx
push 0x4a6
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea ecx, [esp + 0x474]
push ecx
push str.Volume
push edi
call fcn.00431d00
test eax, eax
jne 0x40d7f3
mov edx, dword [esi + 0x1a0]
push 0x49f
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push eax
push str.Link
push edi
call fcn.00431f40
test eax, eax
jne 0x40d7f3
push eax
push eax
mov eax, dword [esi + 0x1a0]
push 0x130b
push 0x53e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call ebx
push eax
push str.ShowDVD
push edi
call fcn.00431fb0
test eax, eax
jne 0x40d7f3
mov ecx, dword [esi + 0x1a0]
push 0x53c
push ecx
call fcn.00474a20
add esp, 8
push eax
push str.RecTypeCD
push edi
call fcn.00431fb0
test eax, eax
jne 0x40d7f3
mov edx, dword [esi + 0x1a0]
push 0x49e
push edx
call fcn.00474a20
add esp, 8
push eax
push str.FileSystemCD
push edi
call fcn.00431fb0
test eax, eax
jne 0x40d7f3
mov eax, dword [esi + 0x1a0]
push 0x53d
push eax
call fcn.00474a20
add esp, 8
push eax
push str.RecTypeDVD
push edi
call fcn.00431fb0
test eax, eax
jne 0x40d7f3
mov ecx, dword [esi + 0x1a0]
push 0x4a0
push ecx
call fcn.00474a20
add esp, 8
push eax
push str.FileSystemDVD
push edi
call fcn.00431fb0
test eax, eax
jne 0x40d7f3
push esi
call fcn.00462de0
add esp, 4
test eax, eax
je 0x40d7f3
mov edx, dword [esi + 0x19c]
push 0
push 0
push 0x1004
push edx
call ebx
sub eax, 1
push eax
push str.NumEntries
push edi
call fcn.00431f40
test eax, eax
jne 0x40d7f3
mov eax, dword [esi + 0x19c]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 1
test eax, eax
jle 0x40d7e9
lea ecx, [ecx]
lea eax, [esi + 0x990]
push eax
lea eax, [esi + 0x98c]
push eax
lea eax, [esi + 0x988]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x288]
push eax
push ebx
push esi
call fcn.0040c240
lea ecx, [esp + 0x294]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x49c]
push str._s_t_s
push eax
call ebp
add ebx, 1
push ebx
lea ecx, [esp + 0x48]
push str.Entry_07d
push ecx
call ebp
add esp, 0x3c
lea edx, [esp + 0x474]
push edx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00431d00
test eax, eax
jne 0x40d7f3
mov ecx, dword [esi + 0x19c]
push eax
push eax
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 1
cmp ebx, eax
jl 0x40d750
push edi
call fcn.00432230
test eax, eax
je 0x40d82e
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
push 0x30
push 0x4dec98
push edi
push 0x198
call fcn.0046d6b0
add esp, 8
push eax
mov eax, dword [esi + 0x1a0]
push eax
call fcn.00470860
add esp, 0x10
xor eax, eax
jmp 0x40d849
push 0
push esi
call fcn.0045dd90
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov ecx, dword [esp + 0xc74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0xc68
ret