Function at 0x1800d4ff0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov esi, r9d
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rbp - 0x79], r15d
mov r10d, dword [0x18058f148]
mov rax, qword gs:[0x58]
mov ecx, 8
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x18058a508], eax
jg 0x1800d535e
lea rax, [0x18058a4e8]
mov qword [rbp + 0x67], rax
mov r9d, 0x40
test esi, esi
cmovne r9d, esi
mov dword [rbp - 0x65], r9d
cmp r9d, 0x40
jle 0x1800d5099
movsxd rcx, r9d
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x61], rax
test rax, rax
jne 0x1800d508f
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov rax, qword [rbp - 0x61]
mov r9d, dword [rbp - 0x65]
mov dword [rbp - 0x69], r9d
jmp 0x1800d50a8
lea rax, [rbp - 0x59]
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x69], 0x40
mov r8, rax
mov edx, ebx
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800d5216
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x50
jne 0x1800d510f
test eax, eax
jne 0x1800d510f
lea rdx, [rbp + 0x67]
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
nop
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d50ee
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov ebx, 0xffffffff
jmp 0x1800d5324
cmp eax, 0x7a
je 0x1800d5153
mov dword [rdi + 8], 0x80000000
mov qword [rdi], r15
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d5132
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov ebx, 0xffffffff
jmp 0x1800d5324
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, eax
test eax, eax
jne 0x1800d51a9
mov dword [rdi + 8], 0x80000000
mov qword [rdi], r15
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d5188
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov ebx, 0xffffffff
jmp 0x1800d5324
mov dword [rbp + 0x7f], edx
mov r8d, edx
cmp edx, dword [rbp - 0x69]
cmovl r8d, dword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.1800d7080
mov r9d, dword [rbp - 0x65]
mov r8, qword [rbp - 0x61]
mov edx, ebx
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800d5216
mov dword [rdi + 8], 0x80000000
mov qword [rdi], r15
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d51f5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov ebx, 0xffffffff
jmp 0x1800d5324
mov rdx, qword [rbp - 0x61]
cmp ebx, 0x50
jne 0x1800d5267
cmp word [rdx], 0
jne 0x1800d5267
lea rdx, [rbp + 0x67]
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
nop
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d5246
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov ebx, 0xffffffff
jmp 0x1800d5324
mov ebx, 0xffffffff
mov r8d, ebx
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d52ab
cmp ecx, ebx
je 0x1800d52bf
mov ecx, ebx
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d52bf
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
nop
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d52ed
cmp ecx, 0xffffffff
je 0x1800d5301
mov ecx, ebx
mov rax, qword [rsp + 0x20]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d5301
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
lea rax, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
cmp rcx, rax
je 0x1800d5315
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x67]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5331
cmp ecx, 0xffffffff
je 0x1800d5344
mov rax, qword [rbp + 0x67]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1800d5344
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rbp + 0x67]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, rdi
mov rbx, qword [rsp + 0x118]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x18058a508]
call fcn.1802e22a0
cmp dword [0x18058a508], 0xffffffff
jne 0x1800d5050
mov dword [0x18058a4e8], 0xffffffff
mov qword [0x18058a4ec], 1
mov qword [0x18058a4f8], 0x18
mov dword [0x18058a500], 0x2b
lea rcx, [0x18058a508]
call fcn.1802e2240
jmp 0x1800d5050