Function at 0x417a50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x200
mov eax, dword [esp + 0x208]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, 0x800
mov dword [esp + 4], eax
jle 0x417a7e
mov dword [esp + 4], 0x800
mov ecx, dword [esp + 4]
push ebx
xor eax, eax
push esi
test ecx, ecx
push edi
mov dword [esp + 0x14], eax
jle 0x417cc4
mov edx, dword [esp + 0x218]
lea ecx, [esp + 0x30]
push 0xa0
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x417ae4
lea edx, [ebp + ebp*4]
lea ecx, [esp + 0x30]
shl edx, 5
add edx, 0x91a580
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc ebp
jmp 0x417ca7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x30]
lea esi, [esp + 0x30]
push 0x42728c
push eax
sub esi, 3
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add eax, esi
push eax
call edi
test eax, eax
jne 0x417bb7
lea ecx, [esp + 0x30]
push 0x428cdc
push ecx
call fcn.0041c19c
mov edi, eax
add esp, 8
test edi, edi
je 0x417caf
lea edx, [esp + 0xd0]
push edx
push 0x428cd8
push edi
call fcn.0041c166
add esp, 0xc
cmp eax, 0xffffffff
je 0x417ba9
lea esi, [ebp + ebp*4]
shl esi, 5
add esi, 0x91a580
lea eax, [esp + 0xd0]
push 0
push eax
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x417b8e
lea ecx, [esp + 0xd0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa0
inc ebp
cmp esi, 0x942580
jge 0x417ba9
lea edx, [esp + 0xd0]
push edx
push 0x428cd8
push edi
call fcn.0041c166
add esp, 0xc
cmp eax, 0xffffffff
jne 0x417b54
push edi
call fcn.0041c110
add esp, 4
jmp 0x417ca7
lea eax, [esp + 0x30]
push 0x427288
push eax
call ebx
add eax, esi
push eax
call edi
test eax, eax
jne 0x417ca7
mov ecx, dword [str.File_1d]
mov edx, dword [0x428cd4]
mov word [esp + 0x20], ax
lea eax, [esp + 0x30]
push eax
push 0
push str.NumberOfEntries
push str.playlist
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
test ebx, ebx
je 0x417caf
xor eax, eax
test ebx, ebx
jle 0x417ca7
lea esi, [ebp + ebp*4]
shl esi, 5
add esi, 0x91a580
lea edi, [eax + 1]
lea ecx, [esp + 0x18]
push edi
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x30]
lea ecx, [esp + 0x170]
lea edx, [esp + 0x24]
push eax
push 0xa0
push ecx
push 0x82d6c0
push edx
push str.playlist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x417c9d
lea eax, [esp + 0x170]
push 0
push eax
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x417c9d
lea ecx, [esp + 0x170]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa0
inc ebp
cmp esi, 0x942580
jge 0x417cc4
mov eax, edi
cmp eax, ebx
jl 0x417c21
cmp ebp, 0x400
jge 0x417cc4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x417a93
mov edx, dword [esp + 0x218]
push edx
call dword [sym.imp.SHELL32.dll_DragFinish]
pop edi
pop esi
test ebp, ebp
pop ebx
je 0x417d0e
call fcn.00417410
mov dword [0x830818], ebp
mov dword [0x88e0dc], 0
mov byte [0x830815], 0
mov dword [0x82f2f4], 1
mov dword [0x428ca8], 0x70
call fcn.00417430
pop ebp
add esp, 0x200
ret