Function at 0x41a940
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4dd5d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esi
call fcn.0041d120
mov eax, dword [0x533708]
mov dword [esp + 0x158], esi
cmp eax, esi
je 0x41a9a4
push 0x369
push str.C:NeoAudio_1.5.7CDInfo.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entering_CDInfo::ReadCDPlayerIni__
call fcn.004244f0
add esp, 4
lea eax, [esp + 0x50]
push 0xfe
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.CDPlayer.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, 3
and ecx, ebx
lea eax, [esp + 0x50]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x14]
call fcn.004b26c4
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
push ecx
lea ecx, [esp + 0x28]
call fcn.0041d540
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 0
call fcn.004b2656
mov eax, dword [0x533708]
test eax, eax
je 0x41aa48
push 0x370
push str.C:NeoAudio_1.5.7CDInfo.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Ini_File_read_from_disk
call fcn.004244f0
add esp, 4
mov edx, dword [0x52506c]
mov dword [esp + 0x14], edx
push str.artist
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 2
call fcn.004b26c4
push ecx
mov byte [esp + 0x15c], bl
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x533538
call fcn.004b26c4
lea eax, [esp + 0x14]
lea edi, [ebp + 0x994]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 4
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x41adcf
mov eax, dword [0x533708]
test eax, eax
je 0x41ab09
push 0x37a
push str.C:NeoAudio_1.5.7CDInfo.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entry_found_in_CDPlayer.ini_file
call fcn.004244f0
add esp, 4
push str.artist
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 1
call fcn.004b26c4
push ecx
mov bl, 5
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, ebp
mov byte [esp + 0x160], bl
call fcn.00409fd0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edi
push edx
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004b23cb
mov ecx, ebp
call fcn.00408f00
push str.title
lea ecx, [esp + 0x14]
call fcn.004b26c4
push ecx
mov bl, 7
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, ebp
mov byte [esp + 0x160], bl
call fcn.0040a000
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 8
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004b23cb
mov ecx, ebp
call fcn.00408f50
push str.year
lea ecx, [esp + 0x14]
call fcn.004b26c4
push ecx
mov bl, 9
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, ebp
mov byte [esp + 0x160], bl
call fcn.0040a060
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edi
push edx
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 0xa
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004b23cb
mov ecx, ebp
call fcn.00407a70
push str.genre
lea ecx, [esp + 0x14]
call fcn.004b26c4
push ecx
mov bl, 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, ebp
mov byte [esp + 0x160], bl
call fcn.0040a090
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 0xc
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004b23cb
mov ecx, ebp
call fcn.0041c1e0
mov ebx, dword [ebp + 4]
xor esi, esi
test ebx, ebx
jle 0x41adcf
mov eax, dword [0x52506c]
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x14]
push 0x516c50
push ecx
mov byte [esp + 0x164], 0xd
call fcn.004acb0b
add esp, 8
mov ecx, ebp
mov edx, esp
mov dword [esp + 0x20], esp
push esi
push edx
call fcn.00409f30
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
lea ecx, [esp + 0x34]
call fcn.0041e000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 0xe
call fcn.004b278f
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0xd
call fcn.004b2656
push esi
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004b23cb
mov ecx, ebp
call fcn.00408d80
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004b2656
inc esi
cmp esi, ebx
jl 0x41ad32
mov eax, dword [0x533708]
test eax, eax
je 0x41ae01
push 0x397
push str.C:NeoAudio_1.5.7CDInfo.cpp
push str.___11s__4d:
call fcn.004244f0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push str.Leaving_CDInfo::ReadCDPlayerIni___with_return_value__d
call fcn.004244f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0
call fcn.004b2656
lea ecx, [esp + 0x24]
mov dword [esp + 0x158], 0xffffffff
call fcn.0041d270
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret