Function at 0x46d640
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4145
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x4c8]
lea esi, [edi + 0x4c8]
push esi
call dword [eax + 0x54]
test eax, eax
je 0x46d69a
mov eax, dword [esi]
push esi
call dword [eax + 0x50]
call fcn.004729c0
mov dword [edi + 0x4b8], eax
lea ecx, [edi + 0x260]
mov eax, dword [ecx]
push str.IXunYouNetworkService
mov eax, dword [eax]
call eax
mov ecx, dword [0x65279c]
mov dword [edi + 0x4c0], eax
push str.IXunYouUserLogin
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, edi
mov dword [edi + 0x4bc], eax
call fcn.0046f530
test eax, eax
je 0x46d869
mov ecx, edi
call fcn.0047c410
test al, al
je 0x46d869
call fcn.004729c0
mov esi, eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
je 0x46d733
push str.XunYouGetInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x46d733
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.IXunYouAnalyticsManager
call dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x46d744
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x30], 0
mov ecx, dword [0x65279c]
push str.IXunYouAuthorityManager
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push 2
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov ecx, dword [0x65279c]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
call edx
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x34], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d790
sub ecx, dword [ebp - 0x34]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004060e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
push 0
push str.clienttype
push str.dialconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp esi, 2
jne 0x46d7d9
test eax, eax
cmovne esi, eax
mov ecx, dword [0x65279c]
push str.IXunYouMiniClientData
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x30]
cmove esi, ecx
lea ecx, [ebp - 0x4c]
mov edx, esi
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
call fcn.00479850
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x46d815
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
push eax
push str.client_type
call dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00406930
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push 0
push esi
push 0x4059
push 1
call dword [eax + 0x30]
mov eax, dword [edi]
push 0
push 0
push 0x402
push edi
mov byte [edi + 0x368], 1
call dword [eax + 0xb4]
lea ecx, [ebp - 0x2c]
call fcn.00405d20
jmp 0x46d870
mov byte [edi + 0x369], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8