Function at 0x11002ed0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0x104
push 0x1102a0a4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x1102a0a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x1102a0a4
cmp ecx, 0x1102a0a4
jb 0x11002f17
cmp byte [ecx], 0x2e
je 0x11002f17
dec ecx
cmp ecx, 0x1102a0a4
jae 0x11002f09
mov eax, dword [0x110264f8]
mov esi, str.allow_sctitles
push 7
push str.config_
mov dword [ecx + 1], eax
mov edi, dword [0x11028f6c]
push esi
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11002f43
mov esi, 0x110264ef
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov esi, dword [0x1102a1ac]
mov edi, str.config_hq
push 7
push str.config_
push edi
mov dword [0x11028f6c], eax
and esi, 0xff
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11002f86
mov edi, 0x110264db
push 0x1102a0a4
push esi
push edi
push str.Nitrane_MPEG_Decoder
call ebx
mov edi, dword [str.__P]
mov esi, str.config_http_buffersize
push 7
push str.config_
push esi
mov byte [0x1102a1ac], al
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11002fbd
mov esi, 0x110264c3
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov edi, dword [0x11026344]
mov esi, str.config_http_prebuffer
push 7
push str.config_
push esi
mov dword [str.__P], eax
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11002ff4
mov esi, 0x110264ab
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov edi, dword [0x11026348]
mov esi, str.config_http_prebuffer_underrun
push 7
push str.config_
push esi
mov dword [0x11026344], eax
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x1100302b
mov esi, 0x1102648b
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov esi, dword [0x1102634c]
mov edi, str.config_priority
push 7
push str.config_
push edi
mov dword [0x11026348], eax
and esi, 0xff
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11003068
mov edi, 0x1102647b
push 0x1102a0a4
push esi
push edi
push str.Nitrane_MPEG_Decoder
call ebx
xor ecx, ecx
mov esi, str.config_8bit
mov cl, byte [0x1102a1a9]
push 7
push str.config_
push esi
mov byte [0x1102634c], al
mov edi, ecx
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x110030a3
mov esi, 0x1102646f
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
xor edx, edx
mov esi, str.config_downmix
mov dl, byte [0x1102a1aa]
push 7
push str.config_
push esi
mov byte [0x1102a1a9], al
mov edi, edx
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x110030de
mov esi, 0x1102645f
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov byte [0x1102a1aa], al
xor eax, eax
mov al, byte [0x1102a1ab]
mov esi, str.config_downsample
push 7
push str.config_
push esi
mov edi, eax
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11003118
mov esi, 0x1102644b
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov edi, dword [0x11026350]
mov esi, str.config_bufall_k
push 7
push str.config_
push esi
mov byte [0x1102a1ab], al
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x1100314f
mov esi, 0x1102643b
push 0x1102a0a4
push edi
push esi
push str.Nitrane_MPEG_Decoder
call ebx
mov dword [0x11026350], eax
mov edi, str._1____2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebp, str.Id3FormatString
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 7
and ecx, 3
push str.config_
rep movsb byte es:[edi], byte [esi]
push ebp
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x110031a6
mov ebp, 0x1102642b
push 0x1102a0a4
push 0x80
lea ecx, [esp + 0x18]
push str._1____2
push ecx
push ebp
push str.Nitrane_MPEG_Decoder
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, str.mp3_mp2_mp1
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, str.extension_list
mov eax, ecx
mov esi, edi
mov edi, edx
push 7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.config_
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x1100320a
mov ebp, 0x1102641b
push 0x1102a0a4
push 0x100
lea ecx, [esp + 0x18]
push str.mp3_mp2_mp1
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Nitrane_MPEG_Decoder
call ebp
mov esi, dword [0x1102a1a8]
mov edi, str.config_eq_mode
push 7
push str.config_
push edi
and esi, 0xff
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x11003256
mov edi, 0x1102640b
push 0x1102a0a4
push esi
push edi
push str.Nitrane_MPEG_Decoder
call ebx
mov byte [0x1102a1a8], al
mov edi, 0x11048c00
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, str.config_http_save_dir
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 7
and ecx, 3
push str.config_
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.11017660
add esp, 0xc
test eax, eax
jne 0x110032ad
mov ebx, 0x110263f3
push 0x1102a0a4
push 0x104
lea ecx, [esp + 0x18]
push 0x11048c00
push ecx
push ebx
push str.Nitrane_MPEG_Decoder
call ebp
mov al, byte [0x1102a1ac]
pop edi
pop esi
pop ebp
test al, al
pop ebx
jne 0x110032fd
mov eax, dword [0x11048be0]
test eax, eax
je 0x110032ed
mov byte [0x1102a1ac], 9
add esp, 0x800
ret
mov eax, dword [0x11048be8]
test eax, eax
je 0x110032fd
mov byte [0x1102a1ac], 4
add esp, 0x800
ret