Function at 0x453a70
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fbee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [0x5c58d0]
push ebx
push esi
push edi
xor ebx, ebx
lea esi, [ebp - 0xe8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xd4], ebx
call fcn.005568c0
mov dword [ebp - 4], ebx
mov al, byte [ebp + 0x10]
test al, al
je 0x454708
mov al, byte [ebp + 0x14]
test al, al
mov dword [ebp - 0xc8], ebx
je 0x453f24
mov edi, dword [ebp + 8]
add edi, 0xa8
mov esi, edi
call fcn.00459b60
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
push ebx
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_open_a]
add esp, 0x10
test eax, eax
jne 0x454537
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
push edx
call ebx
add esp, 0x1c
test eax, eax
jne 0x453b2c
push edi
mov ecx, 1
call fcn.00475d70
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x10]
push ecx
xor esi, esi
push esi
push esi
push esi
push 2
push edx
call ebx
add esp, 0x1c
test eax, eax
jne 0x453b90
jmp 0x453b50
mov eax, esi
inc esi
test eax, eax
jbe 0x453b62
push edi
mov ecx, 0x1f
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
push esi
push 2
push eax
call ebx
add esp, 0x1c
test eax, eax
je 0x453b50
test esi, esi
jbe 0x453b90
push edi
mov ecx, 0x1e
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
push 0
push 1
push eax
call ebx
add esp, 0x1c
test eax, eax
jne 0x453bbb
push edi
mov ecx, 2
call fcn.00475d70
mov eax, dword [ebp - 0x98]
mov esi, dword [sym.imp.ndaudio.dll_mp4tag_cover_query_ex]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.maxi_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453c11
push edi
mov ecx, 3
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.maxi_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453be3
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.mini_back_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453c61
push edi
mov ecx, 6
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.mini_back_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453c33
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.mini_front_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453cb1
push edi
mov ecx, 5
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.mini_front_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453c83
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.label
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453d01
push edi
mov ecx, 4
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.label
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453cd3
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.mini_label
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453d51
push edi
mov ecx, 7
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.mini_label
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453d23
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.dvd_booklet
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453da1
push edi
mov ecx, 0xb
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.dvd_booklet
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453d73
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.dvd_insert
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453df1
push edi
mov ecx, 0xa
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.dvd_insert
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453dc3
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.pocket_bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453e41
push edi
mov ecx, 0xc
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.pocket_bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453e13
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.rect_bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453e91
push edi
mov ecx, 9
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.rect_bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453e63
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
jne 0x453ee1
push edi
mov ecx, 8
call fcn.00475d70
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push 0
push 0
inc ebx
push ebx
push str.bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x453eb3
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ndaudio.dll_mp4tag_close]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xb4]
add esp, 4
test eax, eax
mov dword [ebx + 0xd0], 0
jne 0x453f13
push edi
mov ecx, 1
call fcn.00475d70
push 0
push 2
push 0
mov ecx, ebx
call sub.MFC71.DLL_CDocument::UpdateAllViews
xor ebx, ebx
jmp 0x453f2a
mov esi, dword [sym.imp.ndaudio.dll_mp4tag_cover_query_ex]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xa0], eax
jmp 0x453f80
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [edx + 0xb0]
je 0x454708
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
push ebx
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_open_a]
add esp, 0x10
test eax, eax
jne 0x454537
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
add eax, 0xfffffffe
xor edi, edi
cmp eax, 0x1d
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x9c], ebx
ja case.0x453fe3.13
movzx edx, byte [eax + 0x454d04]
jmp dword [edx*4 + 0x454cd0]
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push edx
push str.maxi_inlay
push eax
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xf0]
mov edi, ecx
mov eax, str.maxi_inlay
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xf0], ecx
cmp eax, ebx
je case.0x453fe3.13
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push ebx
push ebx
push edi
push eax
mov eax, dword [ebp - 0x98]
push eax
call esi
add esp, 0x1c
test eax, eax
je 0x4543fa
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp + 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0xb4], ebx
xor edi, edi
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
add esp, 0x1c
test eax, eax
je 0x4543fa
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ndaudio.dll_mp4tag_close]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
add esp, 4
mov dword [ebp - 0xa0], edx
jmp 0x453f80
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ebp + 0x10]
push edx
push ebx
push ebx
push eax
push str.mini_back_inlay
push ecx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xf8]
mov edi, ecx
mov eax, str.mini_back_inlay
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xf8], ecx
jmp 0x45402e
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x98]
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push ecx
push str.mini_front_inlay
push edx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xdc]
mov edi, ecx
mov eax, str.mini_front_inlay
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xdc], ecx
jmp 0x45402e
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push ebx
push 1
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov dword [ebp - 0xb4], 1
mov ecx, dword [ebp - 0xb4]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x98]
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push edi
push ecx
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
add esp, 0x1c
test eax, eax
je 0x4543fa
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 0xb4], ebx
xor edi, edi
call dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
add esp, 0x1c
test eax, eax
je 0x4543fa
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_close]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
add esp, 4
mov dword [ebp - 0xa0], edx
jmp 0x453f80
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push edx
push str.label
push eax
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xe0]
mov edi, ecx
mov eax, str.label
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xe0], ecx
jmp 0x45402e
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ebp + 0x10]
push edx
push ebx
push ebx
push eax
push str.mini_label
push ecx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xd0]
mov edi, ecx
mov eax, str.mini_label
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xd0], ecx
jmp 0x45402e
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x98]
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push ecx
push str.dvd_booklet
push edx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xd8]
mov edi, ecx
mov eax, str.dvd_booklet
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xd8], ecx
jmp 0x45402e
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push edx
push str.dvd_insert
push eax
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xbc]
mov edi, ecx
mov eax, str.dvd_insert
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xbc], ecx
jmp 0x45402e
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ebp + 0x10]
push edx
push ebx
push ebx
push eax
push str.pocket_bizcard
push ecx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xb0]
mov edi, ecx
mov eax, str.pocket_bizcard
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xb0], ecx
jmp 0x45402e
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x98]
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push ecx
push str.rect_bizcard
push edx
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xb8]
mov edi, ecx
mov eax, str.rect_bizcard
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xb8], ecx
jmp 0x45402e
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp + 0x10]
push ecx
push ebx
push ebx
push edx
push str.bizcard
push eax
call esi
add esp, 0x1c
test eax, eax
jne case.0x453fe3.13
mov ecx, dword [ebp - 0xc0]
mov edi, ecx
mov eax, str.bizcard
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xc0], ecx
jmp 0x45402e
mov eax, dword [ebp - 0xc8]
mov edi, eax
inc eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb4], 2
jmp case.0x453fe3.13
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.MSVCR71.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x454422
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_close]
add esp, 4
jmp 0x454537
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp + 0x10]
test eax, eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x98]
push edx
push ebx
push edi
je 0x45446d
mov eax, dword [ebp - 0x9c]
push eax
push ecx
call esi
add esp, 0x1c
test eax, eax
je 0x45447d
push ebx
call dword [sym.imp.MSVCR71.dll_free]
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_close]
add esp, 8
jmp 0x454537
mov eax, dword [ebp - 0xb4]
push eax
push ecx
call dword [sym.imp.ndaudio.dll_mp4tag_cover_query]
jmp 0x45444a
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push 0x30c
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
push eax
push 0x30c
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0xa8]
push 0x30c
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
push eax
push 0
push str.digital_cover_
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
mov eax, dword [ebp + 0x14]
push 0x57e888
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x454550
push ebx
call dword [sym.imp.MSVCR71.dll_free]
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ndaudio.dll_mp4tag_close]
add esp, 8
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
call fcn.005568a0
xor al, al
jmp 0x454cb5
mov edx, dword [ebp + 0x10]
push edi
push edx
push 1
push ebx
call dword [sym.imp.MSVCR71.dll_fwrite]
push ebx
call dword [sym.imp.MSVCR71.dll_free]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
add esp, 0x18
push 0
push 0x5c83cc
push 0x5c61c0
add ecx, 8
push 0
push 0x5c83cc
call dword [edx + 4]
push eax
call sub.MSVCR71.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x454617
mov byte [ebp - 4], 3
call sub.MFC71.DLL_AfxGetThread
test eax, eax
je 0x4545b9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4545bb
xor eax, eax
push eax
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0xb4], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
dec eax
cmp eax, 0x1e
ja case.0x4545ef.4
movzx edx, byte [eax + 0x454d2c]
jmp dword [edx*4 + 0x454d24]
mov dword [edi + 0x1c], 1
jmp 0x454606
mov dword [edi + 0x1c], 3
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov byte [ebp - 4], 6
call fcn.004079b0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xec]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_close]
add esp, 4
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
xor ebx, ebx
mov dword [ebp - 0xa0], edx
jmp 0x453f80
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x94]
push eax
push ebx
push ecx
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_open_a]
add esp, 0x10
test eax, eax
jne 0x454537
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_query_chapter_count]
add esp, 4
cmp eax, ebx
mov dword [ebp - 0xd0], eax
jbe 0x454c63
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
add ecx, 0x54
xor esi, esi
cmp edx, esi
mov dword [ebp - 0xb0], ecx
je 0x454796
mov eax, dword [ecx + 0x44]
sub eax, edx
sar eax, 2
cmp eax, esi
jg 0x45479e
mov dword [ebp - 0xa0], esi
jmp 0x4547a9
mov ecx, dword [ecx + 0x40]
mov ecx, dword [ecx]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xd0], esi
mov dword [ebp - 0xbc], esi
jbe 0x454c63
jmp 0x4547c0
push 0x57e144
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
push 0x57e144
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
push 0x57e144
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
mov edx, dword [ebp - 0xa4]
push esi
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_query_meta_count]
add esp, 8
test eax, eax
mov dword [ebp - 0xd8], eax
jbe 0x4549ff
xor edi, edi
test eax, eax
jbe 0x4549ff
lea esp, [esp]
mov eax, dword [ebp - 0xa4]
push edi
push esi
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_query_value_count]
mov ecx, dword [ebp - 0xa4]
push edi
push esi
push ecx
mov dword [ebp - 0xc8], eax
call dword [sym.imp.ndaudio.dll_mp4tag_query_meta_name]
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
push 0x57e144
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xc8]
xor ebx, ebx
test eax, eax
jbe 0x454904
test ebx, ebx
je 0x4548d7
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push ebx
push edi
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa4]
push esi
push edx
call dword [sym.imp.ndaudio.dll_mp4tag_query_value]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc0]
push 0x5745
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::FormatMessageA_1]
add esp, 0x20
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
jmp 0x4548f5
mov eax, dword [ebp - 0xa4]
push 0
push edi
push esi
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_query_value]
add esp, 0x10
push eax
lea ecx, [ebp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
mov eax, dword [ebp - 0xc8]
inc ebx
cmp ebx, eax
jb 0x454877
push str.artist
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
jne 0x45492b
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
jmp 0x4549da
push str.title
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
jne 0x454952
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
jmp 0x4549da
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp + 0x14]
push 0x5746
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::FormatMessageA_1]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax - 0xc]
add esp, 0x10
test ecx, ecx
jle 0x4549b5
mov ecx, dword [ebp + 0x14]
push ecx
push eax
lea edx, [ebp - 0xb8]
push 0x5745
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::FormatMessageA_1]
add esp, 0x10
lea eax, [ebp - 0xb8]
push eax
jmp 0x4549b9
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebp - 0xd8]
inc edi
cmp edi, eax
jb 0x454820
test esi, esi
jne 0x454bcd
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x454ae6
push 0x4c
call sub.MFC71.DLL_operator_new_1
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
test edi, edi
je 0x454a6b
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov esi, eax
mov ebx, dword [ebp - 0xd4]
lea ecx, [ebp - 0xec]
or ebx, 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push esi
push 2
or ebx, 2
mov dword [ebp - 4], 0x11
push edi
mov ecx, eax
mov dword [ebp - 0xd4], ebx
call fcn.0046f740
jmp 0x454a6d
xor eax, eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 4], 0x13
mov ecx, dword [edx + 0x40]
test ecx, ecx
mov dword [ebp - 0xa0], eax
jne 0x454a8b
xor ebx, ebx
jmp 0x454a93
mov ebx, dword [edx + 0x44]
sub ebx, ecx
sar ebx, 2
mov edi, dword [ebp - 0xb0]
push eax
call fcn.00471650
mov ebx, dword [ebp - 0xd4]
test bl, 2
je 0x454abf
and ebx, 0xfffffffd
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xd4], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
test bl, 1
mov dword [ebp - 4], 9
je 0x454ae6
mov eax, dword [ebp - 0xd4]
and eax, 0xfffffffe
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov esi, dword [ebp - 0xa0]
mov eax, dword [esi + 4]
cmp eax, 1
je 0x454afe
cmp eax, 2
jle 0x454b06
cmp eax, 4
jg 0x454b06
lea ebx, [esi + 0x14]
call fcn.00452260
cmp dword [esi + 4], 4
jne 0x454b14
lea eax, [esi + 0x38]
call fcn.00559530
mov dword [esi + 4], 2
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x454b38
lea eax, [ebp - 0xc4]
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x454b55
lea edx, [ebp - 0xac]
push edx
lea ecx, [esi + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov edi, dword [ebp - 0xb0]
lea esi, [ebp - 0xe0]
mov eax, edi
call fcn.00452710
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov ecx, esi
sete bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
test bl, bl
je 0x454b91
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x5c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea esi, [ebp - 0xdc]
mov eax, edi
call fcn.00452730
mov edx, dword [eax]
mov ecx, dword [edx - 0xc]
test ecx, ecx
mov ecx, esi
sete bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
test bl, bl
je 0x454bc7
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
add ecx, 0x58
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xa4]
push esi
push ecx
call dword [sym.imp.ndaudio.dll_mp4tag_query_chapter_duration]
add esp, 8
call fcn.00549400
mov edi, eax
cmp di, 1
jae 0x454bf0
mov edi, 1
push 0x10
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0xc8], eax
test eax, eax
mov byte [ebp - 4], 0x14
je 0x454c26
lea edx, [ebp - 0xcc]
push edx
push edi
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xac]
push edx
push eax
call fcn.004dc190
jmp 0x454c28
xor eax, eax
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0xa0]
mov ecx, dword [edi + 0x2c]
add edi, 0x24
test ecx, ecx
jne 0x454c40
xor ebx, ebx
jmp 0x454c48
mov ebx, dword [edi + 0xc]
sub ebx, ecx
sar ebx, 2
push eax
call fcn.004dc670
mov eax, dword [ebp - 0xd0]
inc esi
cmp esi, eax
mov dword [ebp - 0xbc], esi
jb 0x4547c0
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.ndaudio.dll_mp4tag_close]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add esp, 4
push 1
call dword [edx + 0x64]
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
call fcn.005568a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0054939e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10