Function at 0x140084250
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x58], rdx
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 2
lea rdx, [0x1400c9548]
lea rcx, [rsp + 0x68]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 0x68], xmm0
xor r12d, r12d
mov word [rbp - 0x78], r12w
lea rdx, [0x1400b6790]
lea rcx, [rbp - 0x78]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r12w
lea rdx, str.configLocalCountryMappingSettings.xml
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call qword [sym.imp.HwFileUtil.dll_bool___cdecl_FileInfo::GetSelfFullFilePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
test al, al
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140084366
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084361
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084361
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
test bl, bl
je 0x140084432
lea rcx, [rbp - 0x30]
call fcn.1400124e0
nop
lea rdx, str.fail_to_get_LocalCountryMappingSettings.xml_full_path.
lea rcx, [rbp - 0x20]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.CountryCode::GetContryCodeBySysCode
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x30]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rbp - 0x30]
call fcn.14000e840
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x50], r12
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x20]
call fcn.140091680
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_enum_HwXmlError___cdecl_HwXMLDocument::LoadFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140084499
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
test bl, bl
je 0x140084571
lea rcx, [rbp - 0x30]
call fcn.1400124e0
nop
lea rdx, str.LoadFile_fail.
lea rcx, [rbp - 0x20]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.CountryCode::GetContryCodeBySysCode
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x30]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rbp - 0x30]
call fcn.14000e840
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_HwXMLDocument::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rbp - 0x58], r12
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_class_HwXmlElement___cdecl_HwXMLDocument::RootElement_void____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_HwXmlElement::IsElementNull_void_const___ptr64]
test al, al
je 0x1400845f9
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_HwXMLDocument::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r15, r12
mov qword [rbp - 0x40], r12
mov r14d, 0xf
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x50], r15b
mov qword [rsp + 0x48], r12
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [0x1400b6fd1]
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call qword [sym.imp.HwFileUtil.dll_public:_class_HwXmlElement___cdecl_HwXmlElement::FirstNode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140084690
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008468b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008468b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
lea rcx, [rsp + 0x48]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_HwXmlElement::IsElementNull_void_const___ptr64]
mov rbx, qword [rbp - 0x50]
test al, al
jne 0x140084a75
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], al
xor r8d, r8d
lea rdx, [0x1400b6fd1]
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.HwFileUtil.dll_public:_class_HwXmlAttribute___cdecl_HwXmlElement::FirstAttribute_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140084726
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084721
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084881
call fcn.140093ce8
lea rcx, [rsp + 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_HwXmlAttribute::IsAttributeNull_void_const___ptr64]
test al, al
jne 0x1400849d3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_HwXmlAttribute::Value_void_const___ptr64]
nop
lea rcx, [rbp - 0x50]
cmp rcx, rax
je 0x140084779
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140084760
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x50]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov r14, qword [rbp - 0x38]
mov r15, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400847b6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400847b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084888
call fcn.140093ce8
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400847c3
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
cmp r14, 0x10
cmovae rcx, rbx
cmp r15, qword [rsi + 0x10]
jne 0x1400847e5
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008488f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [0x1400b6fd1]
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call qword [sym.imp.HwFileUtil.dll_public:_class_HwXmlElement___cdecl_HwXmlElement::NextSiblingElement_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rcx, [rsp + 0x48]
cmp rax, rcx
je 0x140084834
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140084871
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008486c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400849cc
call fcn.140093ce8
lea rcx, [rsp + 0x48]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_HwXmlElement::IsElementNull_void_const___ptr64]
jmp 0x14008469f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rsp + 0x58], r12
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_class_HwXmlAttribute___cdecl_HwXmlAttribute::NextAttribute_void____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_HwXmlAttribute::IsAttributeNull_void_const___ptr64]
test al, al
jne 0x14008492a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call qword [sym.imp.HwFileUtil.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_HwXmlAttribute::Value_void_const___ptr64]
nop
lea rcx, [rsp + 0x68]
cmp rcx, rax
je 0x1400848ea
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400848db
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x68]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14008492a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084925
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084925
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
cmp r14, 0x10
jb 0x140084976
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008496d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008496d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140093ce8
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_HwXMLDocument::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
cmp r14, 0x10
jb 0x140084a1f
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140084a16
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084a16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140093ce8
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_HwXMLDocument::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
cmp r14, 0x10
jb 0x140084ac1
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140084ab8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084ab8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140093ce8
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_HwXMLDocument::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140084b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
nop
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140093940
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret