Function at 0x49307e
Capabilities:
Read .ini file

Disassembly:
push 0x464
mov eax, 0x52fe1b
call fcn.004fc737
mov eax, dword [0x590e04]
mov edi, ecx
mov ebx, 0x590e04
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 0x49335b
push edi
call fcn.004f192a
pop ecx
test eax, eax
je 0x49335b
push str._func
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
call edi
mov dword [ebp - 0x460], eax
cmp eax, esi
je 0x49335b
push str._func
call fcn.004f192a
pop ecx
mov ecx, dword [ebp - 0x460]
lea eax, [ecx + eax*2]
push eax
call fcn.004fa5f4
mov dword [esp], str._cmd
push dword [ebp - 0x464]
mov dword [ebp - 0x460], eax
call edi
test eax, eax
je 0x493123
push str._cmd
call fcn.004f192a
pop ecx
cmp dword [ebp - 0x460], 6
jne 0x49335b
call fcn.00492f44
test al, al
je 0x49335b
push str._queryfilelist
push dword [ebp - 0x464]
call edi
mov edi, eax
mov dword [ebp - 0x46c], edi
cmp edi, esi
je 0x49316a
push str._queryfilelist_
call fcn.004f192a
lea eax, [edi + eax*2]
pop ecx
mov dword [ebp - 0x46c], eax
push 0x5481c4
push esi
push dword [ebp - 0x46c]
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
cmp eax, esi
je 0x493185
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x590e04]
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.004f18b0
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
push esi
lea eax, [ebp - 0x468]
push 0x53a3dc
push eax
call fcn.0040450f
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x493311
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 0x49324c
push str._cmdline
call fcn.004f192a
pop ecx
mov ecx, dword [ebp - 0x460]
lea eax, [ecx + eax*2]
push eax
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.0042653b
mov ecx, dword [ebp - 0x460]
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x21c]
call fcn.0048ff67
cmp eax, 1
jne 0x4932c6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x45c]
call fcn.004043d1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.004043d1
mov byte [ebp - 4], 3
mov eax, dword [0x59376c]
cmp eax, esi
je 0x4932a3
push eax
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x45c]
call fcn.0048bbda
push esi
push 1
lea esi, [ebp - 0x440]
call fcn.00404e29
push 0
push 1
lea esi, [ebp - 0x45c]
mov byte [ebp - 4], 1
call fcn.00404e29
xor esi, esi
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
push dword [ebp - 0x464]
lea eax, [ebp - 0x468]
push 0x53a3dc
push eax
call fcn.0040450f
add esp, 0xc
push dword [ebp - 0x46c]
lea eax, [ebp - 0x21c]
push 0x208
push eax
push 0x53a3d8
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 0x4931f8
mov eax, dword [ebp - 0x468]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff0
call fcn.00405521
call fcn.004fc7ba
ret