Function at 0x49bd3f
Capabilities:
Get geographical location

Disassembly:
push 0x94
mov eax, 0x4d6411
call fcn.004cbc30
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp byte [edi + 0x14], 0
jne 0x49c3e6
xor esi, esi
mov dword [ebp - 0x40], esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_void_
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_int___cdecl_Util::Data::CreateTXData_struct_ITXData___
pop ecx
add edi, 0x10
push edi
lea ecx, [ebp - 0x18]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov edi, eax
push esi
push dword [ebp - 0x40]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXBSTR::operator_void_
push eax
mov ecx, edi
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
call sym.QQProtectUpd.exe_int___cdecl_Util::Convert::ConvertXMLToTXData_wchar_t___wchar_t____struct_ITXData___wchar_t__
add esp, 0x10
lea ecx, [ebp - 0x18]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov dword [ebp - 0x28], esi
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
push str.CountryRegion
push eax
mov byte [ebp - 4], 3
call fcn.0042ced0
pop ecx
pop ecx
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ebx, 0x120
mov ecx, eax
mov byte [ebp - 4], 4
add esi, ebx
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push edi
call dword [esi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x49be17
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x60]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
call fcn.0049b935
mov eax, dword [ebp - 0x28]
and dword [ebp - 0x18], 0
jmp 0x49c39a
and dword [ebp - 0x34], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call dword [ecx + 0x1ac]
test eax, eax
jl 0x49c3a4
lea ecx, [ebp - 0x54]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x88]
push str.Name
push eax
mov byte [ebp - 4], 7
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x10]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push edi
call dword [esi]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x70]
push str.Code
push eax
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x10]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push edi
call dword [esi]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x44]
push eax
call fcn.00499104
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.0049b040
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.0049b54f
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xa
call fcn.0049bcea
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.0049b06c
mov ecx, dword [ebp - 0x24]
call fcn.00499720
mov edi, eax
add edi, 4
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0044d92a
and dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x6c]
push str.State
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x10], esi
call fcn.0042ced0
pop ecx
pop ecx
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
add esi, ebx
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x10]
call dword [esi]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x49bfa6
and dword [ebp - 0x10], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x60]
push dword [ebp - 0x10]
lea ecx, [edi + 4]
call fcn.0049b0a2
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x10], 0
test eax, eax
je 0x49c35d
jmp 0x49bfb7
mov edi, dword [ebp - 0x64]
and dword [ebp - 0x2c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
call dword [ecx + 0x1ac]
cmp dword [ebp - 0x2c], 0
je 0x49c35a
lea ecx, [ebp - 0x4c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x80]
push str.Name
push eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x14], esi
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x1c]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x14]
call dword [esi]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x78]
push str.Code
push eax
mov dword [ebp - 0x1c], esi
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x14]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x1c]
call dword [esi]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
call fcn.00499104
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.0049b040
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.0049aab9
add esp, 0x1c
add edi, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.0049b5b1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.0049a5d6
mov ecx, edi
call fcn.00499720
mov edi, eax
lea eax, [ebp - 0x4c]
add edi, 4
push eax
mov ecx, edi
call fcn.0044d92a
and dword [ebp - 0x3c], 0
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x68]
push str.City
push eax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x14], esi
call fcn.0042ced0
pop ecx
pop ecx
mov esi, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
add esi, ebx
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x14]
call dword [esi]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x49c141
and dword [ebp - 0x1c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x60]
push dword [ebp - 0x1c]
lea ecx, [edi + 4]
call fcn.0049a60c
mov eax, dword [ebp - 0x3c]
and dword [ebp - 0x1c], 0
jmp 0x49c306
and dword [ebp - 0x30], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
push eax
call dword [ecx + 0x1ac]
cmp dword [ebp - 0x30], 0
je 0x49c310
lea ecx, [ebp - 0x50]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x74]
push str.Name
push eax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x20], esi
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x18
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x14]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x20]
call dword [esi]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x17
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x7c]
push str.Code
push eax
mov dword [ebp - 0x14], esi
call fcn.0042ced0
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
add esi, 0x40
call sym.QQProtectUpd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x20]
push eax
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x14]
call dword [esi]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x17
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
push eax
call fcn.00499104
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.004999d2
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.00499eab
add esp, 0x1c
lea esi, [edi + 4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.0049ab1b
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
call fcn.004999a4
mov ecx, esi
call fcn.00499720
add eax, 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0044d92a
and dword [ebp - 0x48], 0
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x84]
push str.Region
push eax
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x20], esi
call fcn.0042ced0
pop ecx
pop ecx
mov esi, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
add esi, ebx
call sym.QQProtectUpd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push dword [ebp - 0x20]
call dword [esi]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1b
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
call fcn.0049a025
mov eax, dword [ebp - 0x48]
test eax, eax
mov byte [ebp - 4], 0x17
je 0x49c2d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x30]
test eax, eax
mov byte [ebp - 4], 0x13
je 0x49c300
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x49c14a
jmp 0x49c313
mov eax, dword [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 0xf
je 0x49c321
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0xb
je 0x49c34a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
inc dword [ebp - 0x10]
test eax, eax
jne 0x49bfb4
jmp 0x49c35d
mov eax, dword [ebp - 0x38]
test eax, eax
mov byte [ebp - 4], 7
je 0x49c36b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 3
je 0x49c394
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x49be20
jmp 0x49c3b8
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 3
je 0x49c3b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x14], 1
mov byte [ebp - 4], 1
je 0x49c3cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x49c3e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.004cbd08
ret