Function at 0x404d76
Capabilities:
Get file size

Disassembly:
push 0x70
mov eax, 0x4ce9b8
call fcn.004a9f73
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x75
pop edx
mov dword [ebp - 0x64], eax
call fcn.0045b59c
and dword [ebp - 4], 0
mov ebx, str.SongDataCollect.pl
push ebx
call fcn.00404843
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.004042ee
push str.DownLoadSongs
lea ecx, [ebp - 0x2c]
call fcn.00404860
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x74]
call fcn.00462be5
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00404b60
lea ecx, [ebp - 0x44]
call fcn.0045c677
test eax, eax
je 0x404e03
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00462ec3
test eax, eax
je 0x405007
mov ebx, str.SongInfo
lea ecx, [ebp - 0x5c]
push ebx
call fcn.00404860
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6c]
call fcn.00462be5
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00404b60
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404860
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00462d74
mov ebx, eax
lea eax, [ebp - 0x6c]
cmp eax, ebx
je 0x404e65
push ebx
mov ecx, eax
call fcn.004661ac
mov eax, dword [ebx + 4]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x7c]
call fcn.004661e9
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00404b60
mov ebx, dword [ebp - 0x60]
lea eax, [ebx + 0x74]
cmp dword [eax + 0x14], 0x10
jb 0x404e8b
mov eax, dword [eax]
push str.keyId
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
call fcn.00404860
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040642e
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00404b60
cmp dword [esi + 0x14], 0x10
jb 0x404ec9
mov eax, dword [esi]
jmp 0x404ecb
mov eax, esi
push str.filePath
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
call fcn.00404860
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040642e
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00404b60
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x404f0a
mov eax, dword [eax]
push str.fileName
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
call fcn.00404860
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040642e
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00404b60
cmp dword [edi + 0x14], 0x10
jb 0x404f48
mov eax, dword [edi]
jmp 0x404f4a
mov eax, edi
push str.fileMd5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
call fcn.00404860
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040642e
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00404b60
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00462f39
cmp dword [esi + 0x14], 0x10
jb 0x404f92
mov esi, dword [esi]
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404fd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x70
push str.CSongCollect::SaveFileInfo
push str.__s:_d___open_file_failed__err___d
call fcn.0044d523
push eax
call fcn.0044d561
add esp, 0x14
jmp 0x404fff
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x11c], eax
test esi, esi
je 0x404feb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx + 0xec]
cmp ecx, edi
je 0x404fff
push 0xffffffffffffffff
push 0
push edi
call fcn.00404ac2
lea ecx, [ebp - 0x6c]
call fcn.004661e9
lea ecx, [ebp - 0x74]
call fcn.004661e9
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00404b60
call fcn.004a9f22
ret 0xc