Function at 0x6706abd0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6714b39c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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 0x6706adff
sub eax, 1
je 0x6706ad89
sub eax, 1
jne 0x6706aca1
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 0x6706ad1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x6706acd9
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0xe0], 0xffffffff
cmp eax, ecx
je 0x6706aca1
push eax
call sym.QtCore4.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.671438b2
add esp, 0xd4
ret 8
mov ecx, 0xff
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
jg 0x6706acf0
lea eax, [esp + 0x14]
mov edx, dword [eax]
push edx
push ecx
lea ecx, [esp + 0x28]
call fcn.670daa00
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 0x6706ac81
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x24]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0xe4], 3
call sym.QtCore4.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 0x6706ad60
mov eax, dword [esp + 0x1c]
push eax
call sym.QtCore4.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 0x6706acae
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
jmp 0x6706acae
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 0x6706aca1
push 0xffffffffffffffff
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x20]
push edx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov dword [esp + 0xe4], 0
call sym.QtCore4.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 0x6706acae
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706acae
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 0x6706aca1
push 0xffffffffffffffff
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x18]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, edi
mov dword [esp + 0xe4], 1
call sym.QtCore4.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 0x6706acae
mov eax, dword [esp + 0x10]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x6706acae