Function at 0x46d468
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x2f0
mov eax, 0x4e18d4
call fcn.004b5257
mov esi, ecx
call fcn.0046c60f
mov edi, 0x11c
push edi
lea ebx, [esi + 0x618]
push 0
push ebx
call fcn.004b4620
push ebx
mov dword [ebx], edi
call fcn.0046d0b5
add esp, 0x10
test eax, eax
jne 0x46d4ae
push edi
push eax
push ebx
call fcn.004b4620
add esp, 0xc
mov dword [ebx], edi
lea ebx, [esi + 0x734]
mov edi, 0x50ea0c
push edi
mov ecx, ebx
mov dword [ebp - 0x2fc], ebx
call fcn.00428d50
lea ecx, [esi + 0x73c]
push edi
mov dword [ebp - 0x2f8], ecx
call fcn.00428d50
lea ecx, [esi + 0x740]
push edi
mov dword [ebp - 0x2f0], ecx
call fcn.00428d50
lea ecx, [esi + 0x748]
push edi
mov dword [ebp - 0x2f4], ecx
call fcn.00428d50
lea ecx, [esi + 0x74c]
push 0x4f24c0
mov dword [ebp - 0x2e8], ecx
call fcn.00428d50
lea ecx, [esi + 0x744]
push edi
call fcn.00428d50
push esi
lea ecx, [ebp - 0x2ec]
call fcn.0044bc85
and dword [ebp - 4], 0
push str.360base.dll
lea ecx, [ebp - 0x2ec]
call fcn.00444b0f
push esi
lea ecx, [ebp - 0x2e4]
call fcn.0044bc85
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.004470cd
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e4]
call fcn.0040d610
cmp dword [esi + 0x758], 1
jne 0x46d5ba
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x2e0], ax
lea eax, [ebp - 0x2de]
push eax
call fcn.004b4620
add esp, 0xc
push 0x64
lea eax, [ebp - 0x2e0]
push eax
call fcn.004d8e00
test eax, eax
je 0x46d5ba
lea eax, [ebp - 0x2e0]
push eax
mov ecx, ebx
call fcn.00428d50
lea eax, [esi + 0x738]
push eax
call fcn.00449fdd
xor eax, eax
mov dword [esp], 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b4620
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x4fc418
push esi
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0046a784
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2f8]
push eax
call fcn.00446840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e4]
call fcn.0040d610
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0046d2e4
pop ecx
pop ecx
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x750]
call fcn.00446840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e4]
call fcn.0040d610
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b4620
add esp, 0xc
push str.config.ini
push esi
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d769
mov ecx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x3e8
push ebx
push ebx
call fcn.0040dc70
push eax
push 0x4f9db0
push str.language
push 0x4f9df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x2f0]
push 0xffffffffffffffff
call fcn.0040c8c0
mov ecx, dword [ebp - 0x2f4]
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
call fcn.0040dc70
push eax
push edi
push str.channel
push 0x4f9df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x2f4]
push 0xffffffffffffffff
call fcn.0040c8c0
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
mov ebx, dword [ebp - 0x2e8]
mov ecx, ebx
call fcn.0040dc70
push eax
push edi
push 0x500e70
push 0x4f9df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0040c8c0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x46d75d
push 0x500e6c
mov ecx, ebx
call fcn.0043f433
test eax, eax
jne 0x46d769
push 0x4f24c0
mov ecx, ebx
call fcn.00428d50
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
mov eax, 0x500e64
jne 0x46d77f
mov eax, 0x500e5c
push eax
push dword [esi + 0x620]
lea edi, [esi + 0x744]
push dword [esi + 0x61c]
push str._d._d__s
push edi
call fcn.0040e3f0
add esp, 0x14
lea eax, [esi + 0x8b4]
push 0
push eax
call fcn.00447055
mov ecx, eax
call fcn.0046d07f
mov dword [esi + 0x75c], eax
call fcn.0043a42c
push eax
lea ecx, [esi + 0x760]
call fcn.0044f300
push dword [ebp - 0x2e8]
push dword [ebp - 0x2f4]
push edi
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f8]
push dword [ebp - 0x2fc]
call fcn.004ac504
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.0040d610
call fcn.004b52da
ret