Function at 0x140013cc0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
lea rdx, str.IsChina_Start
call fcn.14000f4e0
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
lea rdx, str.https:__gc_rog.asus.com:14393_api_V1_Config_GetCountryCode
lea rcx, [rbp - 0x70]
call qword [sym.imp.cpprest141_2_10.dll_public:_void___cdecl_web::uri::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x90]
call qword [sym.imp.cpprest141_2_10.dll_public:_void___cdecl_web::http::client::http_client::constructor_class_web::uri_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x50]
call fcn.1400098f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140013d90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013d8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013f8c
call fcn.14003dc60
movdqa xmm0, xmmword [0x1400cf7d0]
movdqa xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r14w
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov rdx, qword [sym.imp.cpprest141_2_10.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const_web::http::methods::GET]
lea rcx, [rsp + 0x70]
call fcn.140014ea0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.140017d80
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140013e1a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140013e15
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013f92
mov rcx, r8
call fcn.14003dc60
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov qword [rsp + 0x20], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x140013e48
lock inc dword [rax + 8]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call qword [sym.imp.cpprest141_2_10.dll_public:_class_Concurrency::task_class_web::http::http_response____cdecl_web::http::client::http_client::request_class_web::http::http_request__class_Concurrency::cancellation_token_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140018f10
nop
mov rdx, rsi
mov rcx, rax
call fcn.1400190e0
mov dword [rsp + 0x28], 1
mov edi, 0xffffffff
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140013ecc
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140013ecc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140013ecc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140013f00
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140013f00
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140013f00
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140013f1c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140013f1c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x20], r14
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x140013f55
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140013f55
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140013f55
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.cpprest141_2_10.dll_public:_void___cdecl_web::http::client::http_client::destructor_void____ptr64]
mov rax, rsi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14003d6b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400875c4
int3
call fcn.1400875c4
int3