Function at 0x10001609
Capabilities:
Get common file path
Read .ini file

Disassembly:
jmp 0x1000fd80
push 0xffffffffffffffff
push 0x100214e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
push str.CheckIsWhiteQQ_start
call fcn.10001717
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
xor edi, edi
push str.msresRunTimeIni.DAT
lea ecx, [esp + 0x14]
mov dword [esp + 0x148], edi
call fcn.1001f296
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x15], edx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x19], edx
push eax
mov dword [esp + 0x21], edx
lea ecx, [esp + 0x18]
push 0x14
mov dword [esp + 0x29], edx
push ecx
push 0x1002dab8
mov word [esp + 0x35], dx
push str.CHAT_OffLinePolicyValid
push str.OffLineSet
mov byte [esp + 0x2c], 0
mov byte [esp + 0x3f], dl
call esi
cmp eax, edi
jne 0x1000fe4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetPrivateProfileString_CHAT_OffLinePolicyValid_return_error:_d
call fcn.10001717
add esp, 8
jmp 0x10010171
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
lea edx, [esp + 0x14]
push edx
call ebx
add esp, 4
cmp eax, 1
jne 0x1000fec3
push str.nCHAT_OffLinePolicyValid__1
call fcn.10001717
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x14
push ecx
push 0x1002dab8
push str.CLIENT_ONLINE
push str.NOW_STATE
call esi
cmp eax, edi
jne 0x1000fea3
push str.GetPrivateProfileString____CLIENT_ONLINE
call fcn.10001717
add esp, 4
jmp 0x10010171
lea edx, [esp + 0x14]
push edx
call ebx
add esp, 4
cmp eax, edi
jne 0x1000fec3
push str.nCLIENT_ONLINE__0
call fcn.10001717
add esp, 4
jmp 0x10010171
call fcn.100014a1
test al, al
je 0x1000fede
push str.CheckIsWhiteQQ_bCheckClientNormalExit_is_true_not_start_white_qq_logon
call fcn.10001717
add esp, 4
jmp 0x10010171
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x14
push ecx
push 0x1002dab8
push str.QQWhiteStart
push str.QQ_WHITE
call esi
cmp eax, edi
jne 0x1000ff1d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetPrivateProfileString_QQWhiteStart_error:_d__szIniFile:_s
call fcn.10001717
add esp, 0xc
jmp 0x10010171
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x2c]
push 0x1002af28
push ecx
mov byte [esp + 0x14c], 1
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x1000ffbd
push str.g_bQQWhiteStart_is_true
mov byte [0x1002e291], 1
call fcn.10001717
mov eax, dword [esp + 0x14]
xor edx, edx
add esp, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x14]
push eax
push 0x14
mov dword [esp + 0x24], edx
push ecx
push 0x1002dab8
mov dword [esp + 0x30], edx
push str.QQWhiteCount
push str.QQ_WHITE
mov dword [esp + 0x3c], edx
call esi
lea edx, [esp + 0x14]
push edx
call ebx
mov ebp, eax
push ebp
push str.g_bQQWhiteStart_nCount_is__d
mov dword [esp + 0x40], ebp
call fcn.10001717
add esp, 0xc
cmp ebp, edi
jne 0x1000ffc9
push str.g_bQQWhiteStart_nCount__0_not_forbit_QQ_login
call fcn.10001717
add esp, 4
mov byte [0x1002e291], 0
jmp 0x10010160
xor ebx, ebx
cmp ebp, edi
mov dword [esp + 0x30], ebx
jle 0x10010160
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
push ebx
lea eax, [esp + 0x2c]
push str.qq_d
push eax
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push edx
mov dword [esp + 0x24], ecx
push 0x14
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
push eax
push 0x1002dab8
push ecx
push str.QQ_WHITE
call esi
cmp eax, edi
je 0x10010142
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [0x1002db90]
mov ebx, eax
shr eax, 4
xor edx, edx
add esp, 4
div ebp
mov eax, dword [0x1002db8c]
cmp eax, edi
mov esi, edx
je 0x1001007c
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x100100b0
cmp dword [eax + 8], ebx
je 0x10010072
mov eax, dword [eax]
cmp eax, edi
jne 0x10010065
jmp 0x100100b0
cmp eax, edi
jne 0x10010131
jmp 0x100100b0
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [0x1002db8c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x1002db90], ebp
xor edi, edi
mov eax, dword [0x1002db98]
cmp eax, edi
jne 0x100100fc
mov eax, dword [0x1002dba0]
push 0x10
push eax
push 0x1002db9c
call sub.MFC42.DLL_CPlex::Create
mov edx, dword [0x1002dba0]
mov ecx, edx
shl ecx, 4
lea ecx, [ecx + eax - 0xc]
lea eax, [edx - 1]
cmp eax, edi
jl 0x1001019e
lea edx, [eax + 1]
mov eax, dword [0x1002db98]
mov dword [ecx], eax
mov eax, ecx
sub ecx, 0x10
dec edx
jne 0x100100ed
mov dword [0x1002db98], eax
mov ecx, dword [0x1002db94]
mov edx, dword [eax]
inc ecx
mov dword [0x1002db98], edx
mov dword [0x1002db94], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov ecx, dword [0x1002db8c]
mov edx, dword [ecx + esi*4]
mov dword [eax], edx
mov ecx, dword [0x1002db8c]
mov dword [ecx + esi*4], eax
mov ebp, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 1
call sub.MFC42.DLL_CString::CString
inc ebx
cmp ebx, ebp
mov dword [esp + 0x30], ebx
jl 0x1000ffd7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
mov eax, dword [0x1002db98]
jmp 0x100100fc