Function at 0x48b8b0
Capabilities:
Read .ini file

Disassembly:
push 0x464
mov eax, 0x5247b7
call fcn.004f21c7
mov eax, dword [0x582d44]
mov edi, ecx
mov ebx, 0x582d44
mov ecx, ebx
mov dword [ebp - 0x464], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x470], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x48bb8d
push edi
call fcn.004e73fa
pop ecx
test eax, eax
je 0x48bb8d
push str._func
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
call edi
mov dword [ebp - 0x460], eax
cmp eax, esi
je 0x48bb8d
push str._func
call fcn.004e73fa
pop ecx
mov ecx, dword [ebp - 0x460]
lea eax, [ecx + eax*2]
push eax
call fcn.004f00c4
mov dword [esp], str._cmd
push dword [ebp - 0x464]
mov dword [ebp - 0x460], eax
call edi
test eax, eax
je 0x48b955
push str._cmd
call fcn.004e73fa
pop ecx
cmp dword [ebp - 0x460], 6
jne 0x48bb8d
call fcn.0048b776
test al, al
je 0x48bb8d
push str._queryfilelist
push dword [ebp - 0x464]
call edi
mov edi, eax
mov dword [ebp - 0x46c], edi
cmp edi, esi
je 0x48b99c
push str._queryfilelist_
call fcn.004e73fa
lea eax, [edi + eax*2]
pop ecx
mov dword [ebp - 0x46c], eax
push 0x53c884
push esi
push dword [ebp - 0x46c]
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
cmp eax, esi
je 0x48b9b7
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x468], eax
xor eax, eax
mov edi, 0x206
mov byte [ebp - 4], 1
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x464], esi
call fcn.004e7380
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.004e7380
add esp, 0xc
push esi
lea eax, [ebp - 0x468]
push 0x52f38c
push eax
call fcn.00404568
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x48bb43
inc dword [ebp - 0x464]
push str._cmdline
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
mov dword [ebp - 0x460], eax
cmp eax, esi
je 0x48ba7e
push str._cmdline
call fcn.004e73fa
pop ecx
mov ecx, dword [ebp - 0x460]
lea eax, [ecx + eax*2]
push eax
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.00421170
mov ecx, dword [ebp - 0x460]
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x21c]
call fcn.004887ca
cmp eax, 1
jne 0x48baf8
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x45c]
call fcn.0040441b
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.0040441b
mov byte [ebp - 4], 3
mov eax, dword [0x5856ac]
cmp eax, esi
je 0x48bad5
push eax
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x45c]
call fcn.00484787
push esi
push 1
lea esi, [ebp - 0x440]
call fcn.00404e82
push 0
push 1
lea esi, [ebp - 0x45c]
mov byte [ebp - 4], 1
call fcn.00404e82
xor esi, esi
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004e7380
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.004e7380
add esp, 0xc
push dword [ebp - 0x464]
lea eax, [ebp - 0x468]
push 0x52f38c
push eax
call fcn.00404568
add esp, 0xc
push dword [ebp - 0x46c]
lea eax, [ebp - 0x21c]
push 0x208
push eax
push 0x52f388
push dword [ebp - 0x468]
push str.filelist
call ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x48ba2a
mov eax, dword [ebp - 0x468]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff0
call fcn.0040557a
call fcn.004f224a
ret