Function at 0x1800d53c0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x50], 0
test r8d, r8d
je 0x1800d5668
sub r8d, 1
je 0x1800d55a2
cmp r8d, 1
jne 0x1800d546f
mov dword [rsp + 0x74], 0x40
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 0x40
lea r9d, [r8 + 0x3f]
lea r8, [rbp - 0x80]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800d54e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1800d54a1
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x1800d546f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x58], 0xff
mov r8d, 0xff
cmp dword [rsp + 0x70], r8d
cmovg r8d, dword [rsp + 0x70]
mov edx, 0xff
lea rcx, [rsp + 0x70]
call fcn.1800d7080
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0x78]
mov edx, 0x1008
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d545b
mov ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
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 + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5531
cmp ecx, ebx
je 0x1800d5545
mov ecx, ebx
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d5545
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
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 0x1800d5571
cmp ecx, 0xffffffff
je 0x1800d5585
mov rax, qword [rsp + 0x20]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1800d5585
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 - 0x80]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x1800d547d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800d547d
mov r9d, 0xd
lea r8, [rbp]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d546f
mov ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp]
lea rcx, [rsp + 0x48]
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 + 0x28], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5608
cmp ecx, ebx
je 0x1800d561c
mov ecx, ebx
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d561c
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
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 + 0x28]
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5650
cmp ecx, 0xffffffff
je 0x1800d547d
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1800d547d
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__
jmp 0x1800d547d
mov r9d, 9
lea r8, [rbp]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d546f
mov ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
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 + 0x30], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d56ce
cmp ecx, ebx
je 0x1800d56e2
mov ecx, ebx
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d56e2
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x38]
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 + 0x30]
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d5716
cmp ecx, 0xffffffff
je 0x1800d547d
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1800d547d
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
jmp 0x1800d547d