Function at 0x480d7c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x50adf5
call fcn.00484660
sub esp, 0x1bc
push ebx
push esi
xor eax, eax
push edi
cmp dword [ebp + 8], eax
mov dword [ebp - 0x10], esp
je 0x4811e1
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push 1
mov dword [ebp - 0x18], eax
pop edi
mov dword [ebx], eax
push 0x100
mov dword [esi], eax
push eax
lea eax, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x48], 0x800
mov dword [ebp - 0x28], edi
call sub.MSVCRT.dll_memset
or byte [ebp - 0x1c8], 0x80
add esp, 0xc
lea ecx, [ebp - 0xc8]
call fcn.00481c6e
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.004818c3
mov dword [esp], str.ModuleInfo.db
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
call fcn.00481fbe
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call fcn.004818c3
mov dword [esp], 0x5242c0
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.19F85C3C_19D4_4dfc_B23C_9224331B1245
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call fcn.00481b6c
add esp, 0xc
push 0xa
push 0x64
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00481ff2
test eax, eax
jne 0x480e93
xor esi, esi
jmp 0x4811a0
push dword [ebp - 0x38]
lea ecx, [ebp - 0xc8]
call fcn.00481e23
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], eax
call fcn.0048204a
cmp dword [ebp - 0x14], 0
je 0x480f16
lea ecx, [ebp - 0xc8]
call fcn.00481f3d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00481f74
test eax, eax
je 0x480f16
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x480f00
cmp eax, 0x800
ja 0x480f00
cmp eax, edi
jbe 0x480ee5
mov edi, eax
dec eax
push 7
mov edx, eax
and eax, 7
pop ecx
sub ecx, eax
mov al, 1
shr edx, 3
shl al, cl
lea edx, [ebp + edx - 0x1c8]
or byte [edx], al
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00481f74
test eax, eax
jne 0x480ed0
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 8]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push str.SoftwareTencentQQUpdate
push str._sGlobal_s
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x20]
push SysStringLen
call fcn.00482470
add esp, 0x18
test eax, eax
je 0x4810c8
push 0xa
push 0x64
push str.19F85C3C_19D4_4dfc_B23C_9224331B1245
lea ecx, [ebp - 0x30]
call fcn.00481ff2
test eax, eax
jne 0x480f6c
xor esi, esi
jmp 0x481194
push 0x20019
lea ecx, [ebp - 0x14]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xb
push SysStringLen
call fcn.0048213b
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xc
call fcn.00482280
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x14]
push eax
call fcn.004822f6
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0048271e
test al, al
sete byte [ebp + 0xb]
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
call fcn.004824fd
cmp byte [ebp + 0xb], 0
je 0x481092
lea eax, [ebp - 0x1c]
push 0x20019
push eax
lea ecx, [ebp - 0x6c]
call fcn.00482616
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push str.BitID
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.004823af
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0x10
cmp eax, 1
jbe 0x481045
cmp eax, dword [ebp - 0x48]
ja 0x481045
cmp eax, edi
jbe 0x48102a
mov edi, eax
mov dword [ebp - 0x28], edi
dec eax
push 7
mov edx, eax
and eax, 7
pop ecx
sub ecx, eax
mov al, 1
shr edx, 3
shl al, cl
lea edx, [ebp + edx - 0x1c8]
or byte [edx], al
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.004821e8
jmp 0x481085
lea ecx, [ebp - 0x6c]
call fcn.00481817
jmp 0x480f99
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004824fd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004821e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xa
call fcn.0048204a
mov eax, edi
xor cl, cl
and al, 7
cmp cl, al
sbb eax, eax
neg eax
shr edi, 3
add eax, edi
push eax
mov dword [esi], eax
call sub.MFC42.DLL_operatornew
mov dword [ebx], eax
push dword [esi]
push 0
push eax
call sub.MSVCRT.dll_memset
push dword [esi]
lea eax, [ebp - 0x1c8]
push eax
push dword [ebx]
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 0x10]
push eax
call fcn.004818c3
add esp, 0x20
push 0x5242b4
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x15
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x24]
mov edi, str.Flag3
mov esi, str.STAT
push 0xffffffffffffffff
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, dword [ebp + 0x14]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x481185
and dword [ebx], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
push dword [ebx]
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x18
push 0x571070
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x24]
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
push 1
pop esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00481fe7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00481db8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret