Function at 0x6709ed40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67270c80
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0x674b21fc
mov eax, dword [ebp + 0x10]
mov edx, 0x40
test eax, eax
mov dword [ebp - 4], 0
cmovne edx, eax
mov dword [ebp - 0x9c], edx
cmp edx, 0x40
jle 0x6709edc3
lea eax, [edx + edx]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x98], eax
test eax, eax
jne 0x6709edb5
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
jmp 0x6709edd9
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa0], 0x40
mov dword [ebp - 0x98], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edx
push eax
push esi
push dword [ebx]
mov byte [ebp - 4], 1
call edi
test eax, eax
jne 0x6709eee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x6709ee52
test eax, eax
jne 0x6709ee52
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call sym.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x6709ee2c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x6709ef7a
cmp eax, 0xffffffff
je 0x6709ef89
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jmp 0x6709ef73
cmp eax, 0x7a
je 0x6709ee69
mov esi, dword [ebp + 8]
mov dword [esi + 8], 0x80000000
mov dword [esi], 0
jmp 0x6709ee12
push 0
push 0
push esi
push dword [ebx]
call edi
mov edx, eax
test edx, edx
je 0x6709eea9
cmp edx, dword [ebp - 0xa0]
mov ecx, edx
cmovl ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.670a0860
push dword [ebp - 0x9c]
push dword [ebp - 0x98]
push esi
push dword [ebx]
call edi
test eax, eax
jne 0x6709eee0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x98]
mov dword [esi], 0
mov dword [esi + 8], 0x80000000
cmp eax, ecx
je 0x6709eed3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
jmp 0x6709ef89
mov eax, dword [ebp - 0x98]
cmp esi, 0x50
jne 0x6709eef5
cmp word [eax], 0
je 0x6709ee04
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x6709ef34
cmp eax, edi
je 0x6709ef43
mov eax, dword [ebp + 0x10]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6709ef43
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, dword [ebp - 0x98]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x6709ef5d
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x6709ef7a
cmp eax, 0xffffffff
je 0x6709ef89
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x6709ef89
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
pop ebx
mov esp, ebp
pop ebp
ret 0xc