Function at 0x4148a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47998d
push eax
mov eax, 0x5198
mov dword fs:[0], esp
call fcn.00458680
mov eax, dword [0x492aec]
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0xc], eax
lea ecx, [ebp + 0xc4]
push 0
push ecx
mov dword [esp + 0x51b4], 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x414997
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov eax, dword [0x4961e8]
test eax, eax
jne 0x41494a
mov eax, dword [0x498604]
test eax, eax
jne 0x41494a
lea edx, [esp + 0x10]
push 0x77
push edx
call fcn.004027a0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x51b0], 1
call fcn.0046ebeb
lea ecx, [esp + 0x10]
mov byte [esp + 0x51ac], 0
call fcn.0046eab2
mov eax, dword [esp + 0xc]
push 0
push 0x40
push eax
call fcn.00472c36
test esi, esi
je 0x41497c
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x414964
push 9
push esi
call edi
push 1
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x51ac], 0xffffffff
call fcn.0046eab2
xor eax, eax
jmp 0x414e13
push str.CCProxy_startup
call fcn.00430d10
mov cl, byte [0x494b70]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x319c]
push 0x494f68
push 0x1000
mov byte [esp + 0x31a4], cl
push edx
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x31a9]
push 0x494b70
push 0x48f4a4
push str.System
rep stosd dword es:[edi], eax
call esi
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x41a1]
mov byte [esp + 0x41a0], dl
mov byte [esp + 0x98], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x99]
rep stosd dword es:[edi], eax
push 0x494f68
lea eax, [esp + 0x1d9c]
push 0x400
push eax
push str.English
push 0x48e194
push str.System
call esi
lea ecx, [esp + 0x1d98]
lea edx, [esp + 0x98]
push ecx
push 0x494e60
push str._sLanguage_s.ini
push edx
call fcn.004585a3
mov al, byte [0x494b70]
mov ecx, 0x400
mov byte [esp + 0xda4], al
xor eax, eax
lea edi, [esp + 0xda5]
add esp, 0x10
rep stosd dword es:[edi], eax
call fcn.00474e29
mov eax, dword [eax + 8]
lea ecx, [esp + 0xd94]
push 0x1000
push ecx
push 0x8048
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x48e174
lea edx, [esp + 0xd98]
push 0x48e170
push edx
call fcn.004088f0
push 0x48e16c
lea eax, [esp + 0xda4]
push 0x48e168
push eax
call fcn.004088f0
mov cl, byte [0x494b70]
add esp, 0x18
mov byte [esp + 0x2198], cl
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2199]
lea edx, [esp + 0x98]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x219c]
push 0x1000
push eax
lea ecx, [esp + 0xda0]
lea edx, [esp + 0xda0]
push ecx
push edx
push str.String
call esi
mov al, byte [esp + 0x2198]
test al, al
je 0x414b4e
lea edi, [esp + 0x2198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
push 0x48e170
lea ecx, [esp + 0xd9c]
push 0x48e174
push ecx
call fcn.004088f0
push 0x48e168
lea edx, [esp + 0xda8]
push 0x48e16c
push edx
call fcn.004088f0
lea edi, [esp + 0xdb0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x41a4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x41a4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x31a0]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x414be1
test cl, cl
je 0x414bdd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x414be1
add eax, 2
add esi, 2
test cl, cl
jne 0x414bb9
xor eax, eax
jmp 0x414be6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jle 0x414bf2
mov ecx, ebp
call fcn.00414340
mov eax, dword [0x495de0]
test eax, eax
je 0x414c92
mov eax, dword [0x495de4]
test eax, eax
je 0x414c92
push 0
lea ecx, [esp + 0x3c]
call fcn.00439070
lea ecx, [esp + 0x38]
mov byte [esp + 0x51ac], 2
call fcn.0046af57
cmp eax, 2
jne 0x414c6d
lea ecx, [esp + 0x94]
mov byte [esp + 0x51ac], 3
call fcn.0046eab2
lea ecx, [esp + 0x38]
mov byte [esp + 0x51ac], 0
call fcn.0046ac2a
lea ecx, [esp + 0xc]
mov dword [esp + 0x51ac], 0xffffffff
call fcn.0046eab2
xor eax, eax
jmp 0x414e13
lea ecx, [esp + 0x94]
mov byte [esp + 0x51ac], 4
call fcn.0046eab2
lea ecx, [esp + 0x38]
mov byte [esp + 0x51ac], 0
call fcn.0046ac2a
lea ecx, [esp + 0x14]
call fcn.004752e5
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
mov byte [esp + 0x51b0], 5
call fcn.00475292
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00443000
add esp, 4
lea ecx, [esp + 0x1a0]
push 0
call fcn.00415e50
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x51ac], 6
mov dword [ebp + 0x1c], edx
call fcn.0046af57
lea ecx, [esp + 0xcc0]
mov byte [esp + 0x51ac], 0xc
call fcn.00436470
lea ecx, [esp + 0xc84]
mov byte [esp + 0x51ac], 0xb
call fcn.0047347b
lea ecx, [esp + 0xbc0]
mov byte [esp + 0x51ac], 0xa
call fcn.00437080
lea ecx, [esp + 0xb84]
mov byte [esp + 0x51ac], 9
call fcn.0046934e
lea eax, [esp + 0x238]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xb40]
mov byte [esp + 0x51ac], 0x10
call fcn.004693e8
lea ecx, [esp + 0xb04]
mov byte [esp + 0x51ac], 0xf
call fcn.004693e8
lea ecx, [esp + 0xac8]
mov byte [esp + 0x51ac], 0xe
call fcn.004693e8
mov eax, dword [esp + 0xac4]
mov byte [esp + 0x51ac], 0xd
test eax, eax
mov esi, eax
je 0x414dad
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0xa9c]
call fcn.0040a010
push esi
call fcn.0046eff2
add esp, 4
lea ecx, [esp + 0x238]
mov byte [esp + 0x51ac], 8
call fcn.0046ac2a
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x51ac], 7
call fcn.0044f970
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x51ac], 5
call fcn.0046ac2a
lea ecx, [esp + 0x14]
mov byte [esp + 0x51ac], 0
call fcn.00475340
lea ecx, [esp + 0xc]
mov dword [esp + 0x51ac], 0xffffffff
call fcn.0046eab2
mov eax, 1
mov ecx, dword [esp + 0x51a4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x51a4
ret