Function at 0x6706bd50
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x67150a2c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x67258980]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
sub eax, 0
mov edi, dword [esp + 0xe8]
mov esi, ecx
mov dword [esp + 0x14], 0
je 0x6706bf7b
dec eax
je 0x6706bf05
dec eax
jne 0x6706be1d
mov eax, 0x40
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push eax
mov eax, dword [esi + 4]
mov edx, ecx
push edx
push 0x1008
push eax
mov dword [esp + 0xf0], 2
call ebp
test eax, eax
jne 0x6706be96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x6706be55
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0xe0], 0xffffffff
cmp eax, ecx
je 0x6706be1d
push eax
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov dword [edi + 8], 0x80000000
mov dword [edi], 0
mov eax, edi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.67149782
add esp, 0xd4
ret 8
mov ecx, 0xff
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
cmp dword [esp + 0x20], ecx
jg 0x6706be6c
lea eax, [esp + 0x14]
mov edx, dword [eax]
push edx
push ecx
lea ecx, [esp + 0x28]
call fcn.67121910
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 4]
push eax
push ecx
push 0x1008
push edx
call ebp
test eax, eax
je 0x6706bdfd
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x24]
push eax
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0xe4], 3
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xe0], 2
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706bedc
mov eax, dword [esp + 0x1c]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0xe0], 0xffffffff
cmp eax, ecx
je 0x6706be2a
push eax
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
jmp 0x6706be2a
mov eax, dword [esi + 4]
push 0xd
lea edx, [esp + 0xbc]
push edx
push 0x14
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706be1d
push 0xffffffffffffffff
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x20]
push edx
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov dword [esp + 0xe4], 0
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov eax, dword [esp + 0x18]
mov dword [esp + 0xe0], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706be2a
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706be2a
mov ecx, dword [esi + 4]
push 9
lea eax, [esp + 0xbc]
push eax
push 0x15
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6706be1d
push 0xffffffffffffffff
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x18]
push eax
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov dword [esp + 0xe4], 1
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xe0], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706be2a
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706be2a