Function at 0x4046fb
Capabilities:
Get file size

Disassembly:
push 0x70
mov eax, 0x4cf668
call fcn.004aaeb3
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.0045def5
and dword [ebp - 4], 0
mov ebx, str.SongDataCollect.pl
push ebx
call fcn.004041c8
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.00403c73
push str.DownLoadSongs
lea ecx, [ebp - 0x2c]
call fcn.004041e5
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x74]
call fcn.0046556d
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004044e5
lea ecx, [ebp - 0x44]
call fcn.0045efd2
test eax, eax
je 0x404788
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.0046584b
test eax, eax
je 0x40498c
mov ebx, str.SongInfo
lea ecx, [ebp - 0x5c]
push ebx
call fcn.004041e5
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6c]
call fcn.0046556d
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.004044e5
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004041e5
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x74]
call fcn.004656fc
mov ebx, eax
lea eax, [ebp - 0x6c]
cmp eax, ebx
je 0x4047ea
push ebx
mov ecx, eax
call fcn.00468b7d
mov eax, dword [ebx + 4]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x7c]
call fcn.00468bba
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004044e5
mov ebx, dword [ebp - 0x60]
lea eax, [ebx + 0x74]
cmp dword [eax + 0x14], 0x10
jb 0x404810
mov eax, dword [eax]
push str.keyId
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
call fcn.004041e5
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00405ecf
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004044e5
cmp dword [esi + 0x14], 0x10
jb 0x40484e
mov eax, dword [esi]
jmp 0x404850
mov eax, esi
push str.filePath
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
call fcn.004041e5
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00405ecf
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004044e5
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x40488f
mov eax, dword [eax]
push str.fileName
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
call fcn.004041e5
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00405ecf
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004044e5
cmp dword [edi + 0x14], 0x10
jb 0x4048cd
mov eax, dword [edi]
jmp 0x4048cf
mov eax, edi
push str.fileMd5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
call fcn.004041e5
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00405ecf
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004044e5
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.004658c1
cmp dword [esi + 0x14], 0x10
jb 0x404917
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 0x404956
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.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0x14
jmp 0x404984
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x11c], eax
test esi, esi
je 0x404970
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx + 0xec]
cmp ecx, edi
je 0x404984
push 0xffffffffffffffff
push 0
push edi
call fcn.00404447
lea ecx, [ebp - 0x6c]
call fcn.00468bba
lea ecx, [ebp - 0x74]
call fcn.00468bba
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004044e5
call fcn.004aae62
ret 0xc