Function at 0x4d6700
Capabilities:
Get geographical location

Disassembly:
push 0x94
mov eax, 0x595bba
call fcn.00584f68
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp byte [edi + 0x14], 0
jne 0x4d6da7
xor esi, esi
mov dword [ebp - 0x40], esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], esi
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_void_
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call sym.txupd.exe_int___cdecl_Util::Data::CreateTXData_struct_ITXData___
pop ecx
add edi, 0x10
push edi
lea ecx, [ebp - 0x18]
call sym.txupd.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.txupd.exe_public:_wchar_t_____thiscall_CTXBSTR::operator_void_
push eax
mov ecx, edi
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
call sym.txupd.exe_int___cdecl_Util::Convert::ConvertXMLToTXData_wchar_t___wchar_t____struct_ITXData___wchar_t__
add esp, 0x10
lea ecx, [ebp - 0x18]
call sym.txupd.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.0044ced0
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.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4d67d8
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.004d62f6
mov eax, dword [ebp - 0x28]
and dword [ebp - 0x18], 0
jmp 0x4d6d5b
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 0x4d6d65
lea ecx, [ebp - 0x54]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x88]
push str.Name
push eax
mov byte [ebp - 4], 7
call fcn.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x10]
push eax
call sym.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x70]
push str.Code
push eax
call fcn.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x10]
push eax
call sym.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x44]
push eax
call fcn.004d29a5
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.004d598c
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.004d5e9b
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xa
call fcn.004d66ab
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.004d59b8
mov ecx, dword [ebp - 0x24]
call fcn.004d3e14
mov edi, eax
add edi, 4
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0049f0c7
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.0044ced0
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.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4d6967
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.004d59ee
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x10], 0
test eax, eax
je 0x4d6d1e
jmp 0x4d6978
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 0x4d6d1b
lea ecx, [ebp - 0x4c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sym.txupd.exe_public:_void___thiscall_CTXStringW::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.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x1c]
push eax
call sym.txupd.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.txupd.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.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x14]
push eax
call sym.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
call fcn.004d29a5
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.004d4e0b
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.004d531a
add esp, 0x1c
add edi, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.004d5f20
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.004d4e37
mov ecx, edi
call fcn.004d3db1
mov edi, eax
lea eax, [ebp - 0x4c]
add edi, 4
push eax
mov ecx, edi
call fcn.0049f0c7
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.0044ced0
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.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d6b02
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.004d4e6d
mov eax, dword [ebp - 0x3c]
and dword [ebp - 0x1c], 0
jmp 0x4d6cc7
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 0x4d6cd1
lea ecx, [ebp - 0x50]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call sym.txupd.exe_public:_void___thiscall_CTXStringW::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.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x14]
push eax
call sym.txupd.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.txupd.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.0044ced0
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.txupd.exe_public:_wchar_t_____thiscall_CTXStringW::GetBSTRPtr_void_
mov ecx, dword [ebp - 0x20]
push eax
call sym.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
push eax
call fcn.004d29a5
sub esp, 0x14
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x20], esp
call fcn.004d411c
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.004d45f5
add esp, 0x1c
lea esi, [edi + 4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.004d539f
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
call fcn.004d40ee
mov ecx, esi
call fcn.004d3d4e
add eax, 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0049f0c7
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.0044ced0
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.txupd.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.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
call fcn.004d47fb
mov eax, dword [ebp - 0x48]
test eax, eax
mov byte [ebp - 4], 0x17
je 0x4d6c98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x30]
test eax, eax
mov byte [ebp - 4], 0x13
je 0x4d6cc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4d6b0b
jmp 0x4d6cd4
mov eax, dword [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 0xf
je 0x4d6ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0xb
je 0x4d6d0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
inc dword [ebp - 0x10]
test eax, eax
jne 0x4d6975
jmp 0x4d6d1e
mov eax, dword [ebp - 0x38]
test eax, eax
mov byte [ebp - 4], 7
je 0x4d6d2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 3
je 0x4d6d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d67e1
jmp 0x4d6d79
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 3
je 0x4d6d76
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 0x4d6d8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, dword [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4d6da7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.00585040
ret