Function at 0x670ab8a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728e4e1
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
call fcn.670abbc0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa4], 0x40
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x40
push 0x40
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push eax
push esi
push dword [edi]
call ebx
test eax, eax
jne 0x670aba0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x670ab934
test eax, eax
je 0x670aba1d
cmp eax, 0x7a
je 0x670ab9ac
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x98]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [edi + 8]
and eax, 0xc0000000
mov dword [edi], 0
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa0]
cmp eax, ecx
je 0x670ab973
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x670ab99b
cmp ecx, 0xffffffff
je 0x670abba2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x670abba2
cmp eax, 0x674c7cb4
je 0x670abba2
push eax
jmp 0x670abb9d
push 0
push 0
push esi
push dword [edi]
call ebx
mov edx, eax
test edx, edx
jne 0x670ab9db
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
and eax, 0xc0000000
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
mov dword [esi], 0
jmp 0x670aba55
cmp edx, dword [ebp - 0xa8]
mov ecx, edx
cmovl ecx, dword [ebp - 0xa8]
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.670abc30
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push esi
push dword [edi]
call ebx
test eax, eax
je 0x670ab9bb
mov edx, dword [ebp - 0xa0]
cmp esi, 0x50
jne 0x670aba8d
cmp word [edx], 0
jne 0x670aba8d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
and eax, 0xc000000a
or eax, 0xa
and eax, 0xbfffffff
and eax, 0x7fffffff
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [eax]
test eax, eax
je 0x670aba4e
cmp eax, 0xffffffff
je 0x670aba4e
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
and dword [esi + 8], 0xbfffffff
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x98]
cmp eax, ecx
je 0x670aba6f
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_QVector_class_QPoint_::destructor_void_
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
test edx, edx
jne 0x670aba98
mov esi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x670ababd
xor eax, eax
cmp word [edx], ax
je 0x670abaa8
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x670abaa0
push 0
add eax, eax
lea ecx, [ebp + 0xc]
push 0
push eax
call fcn.671e2a80
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
or ebx, 0xffffffff
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp + 0xc], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
test eax, eax
je 0x670abaec
cmp eax, ebx
je 0x670abb02
mov eax, ebx
lock xadd dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null], eax
dec eax
setne al
test al, al
jne 0x670abb02
mov eax, dword [ebp + 0xc]
cmp eax, 0x674c7cb4
je 0x670abb02
push eax
call ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
and eax, 0xc000000a
or eax, 0xa
and eax, 0xbfffffff
and eax, 0x7fffffff
mov dword [edi + 8], eax
mov dword [edi], esi
mov eax, dword [esi]
test eax, eax
je 0x670abb2d
cmp eax, 0xffffffff
je 0x670abb2d
lock inc dword [esi]
and dword [edi + 8], 0xbfffffff
mov eax, dword [esi]
test eax, eax
je 0x670abb4d
cmp eax, 0xffffffff
je 0x670abb5b
mov eax, ebx
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x670abb5b
cmp esi, 0x674c7cb4
je 0x670abb5b
push esi
call ecx
add esp, 4
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x98]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, ecx
je 0x670abb77
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x670abb94
cmp eax, 0xffffffff
je 0x670abba2
lock xadd dword [ecx], ebx
dec ebx
setne al
test al, al
jne 0x670abba2
cmp ecx, 0x674c7cb4
je 0x670abba2
push ecx
call esi
add esp, 4
mov eax, edi
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