Function at 0x670a1cd0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x6727119d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x674c412c]
xor eax, ebp
mov dword [ebp + 0x200], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
push 0xff
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
push 1
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edi, 0xffffffff
test eax, eax
je 0x670a1d92
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [ebp - 0x14]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x670a1d83
cmp eax, edi
je 0x670a1d92
mov eax, dword [ebp - 0x24]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a1d92
push 4
push 2
push dword [ebp - 0x24]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x670a1e24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toLatin1_helper_inplace_class_QString__
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x15]
push eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.6707d830
add esp, 0x18
mov ecx, eax
cmp byte [ebp - 0x15], 0
je 0x670a1df2
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
jne 0x670a1df2
cmp ecx, 0x814
jne 0x670a1df2
push 0x6730783c
push 2
lea ecx, [ebp - 0x10]
call fcn.6708b6e0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x670a1e15
cmp eax, 0xffffffff
je 0x670a1e24
mov eax, dword [ebp - 0x20]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a1e24
push 4
push 1
push dword [ebp - 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x670a1e92
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [eax]
test eax, eax
je 0x670a1e55
cmp eax, 0xffffffff
je 0x670a1e64
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a1e64
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x670a1f4e
cmp eax, 0xffffffff
je 0x670a1f5d
mov ecx, dword [ebp - 0x10]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
je 0x670a1f4e
jmp 0x670a1f5d
push 0xff
lea eax, [ebp]
push eax
push 0x59
push dword [ebp + 0x210]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x670a1ef7
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x670a1ee8
cmp eax, 0xffffffff
je 0x670a1ef7
mov eax, dword [ebp - 0x28]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a1ef7
push 4
push 2
push dword [ebp - 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [eax]
test eax, eax
je 0x670a1f22
cmp eax, 0xffffffff
je 0x670a1f31
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a1f31
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x670a1f4e
cmp eax, 0xffffffff
je 0x670a1f5d
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x670a1f5d
push 4
push 2
push dword [ebp - 0x10]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.67267c3b
lea esp, [ebp + 0x204]
pop ebp
ret