Function at 0x405023
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x4cea25
call fcn.004a9f73
mov esi, ecx
push 0x75
pop edx
lea ecx, [ebp - 0x70]
call fcn.0045b59c
mov edi, str.SongDataCollect.pl
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00404843
pop ecx
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.004042ee
push 0x4e77ae
lea ecx, [ebp - 0x40]
call fcn.00404860
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x80]
call fcn.00462be5
xor edi, edi
mov byte [ebp - 4], 3
push ebx
inc edi
lea ecx, [ebp - 0x40]
push edi
call fcn.00404b60
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
call fcn.00462ec3
test eax, eax
je 0x4051e7
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
call fcn.00462cdf
mov byte [ebp - 4], 4
jmp 0x405193
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.00462cb7
mov edx, str.SongInfo
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00403ab4
mov bl, al
mov byte [ebp - 4], 4
push 0
neg bl
lea ecx, [ebp - 0x58]
push edi
sbb bl, bl
call fcn.00404b60
inc bl
jne 0x40518b
push 0xf
xor ebx, ebx
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push str.keyId
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00404860
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.00404ba4
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00404b60
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [esi + 0x74]
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 0x10
jb 0x405147
mov eax, dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405167
test dl, dl
je 0x405163
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405167
add eax, 2
add ecx, 2
test dl, dl
jne 0x405147
mov eax, ebx
jmp 0x40516b
sbb eax, eax
or eax, edi
test eax, eax
je 0x4051ff
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404b60
push ebx
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00404b60
lea ecx, [ebp - 0x78]
call fcn.00463074
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
call fcn.00462d2e
mov ecx, dword [ebp - 0x74]
xor ebx, ebx
cmp ecx, dword [eax + 4]
lea ecx, [ebp - 0x88]
setne bl
call fcn.004661e9
test ebx, ebx
jne 0x4050ae
push 0xa2
push str.CSongCollect::DeleteFileInfo
push str.__s:_d_delete_is_failed
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.004661e9
lea ecx, [ebp - 0x80]
call fcn.004661e9
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.00404b60
call fcn.004a9f22
ret
push str.filePath
lea ecx, [ebp - 0x58]
call fcn.00404860
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.00404ba4
push ebx
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00404b60
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
call fcn.00462df1
mov esi, str.CSongCollect::DeleteFileInfo
test eax, eax
je 0x40525e
push 0x96
push esi
push str.__s:_d_xmlRoot.RemoveChild_node_Success
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
call fcn.00462f39
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4052a5
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x9d
push esi
push str.__s:_d_DeleteFile__s__Success
call fcn.0044d523
push eax
call fcn.0044d561
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404b60
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00404b60
jmp 0x4051df