Function at 0x670ab610
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728e481
mov eax, dword fs:[0]
push eax
sub esp, 0x98
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.670ab880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa0], 0x40
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 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 0x670ab75f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x50
jne 0x670ab6a4
test eax, eax
je 0x670ab770
cmp eax, 0x7a
je 0x670ab709
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
cmp eax, ecx
je 0x670ab6ce
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x670ab6f6
cmp ecx, 0xffffffff
je 0x670ab864
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x670ab864
cmp eax, 0x674c7cb4
je 0x670ab864
push eax
call edi
jmp 0x670ab861
push 0
push 0
push esi
push dword [edi]
call ebx
mov edx, eax
test edx, edx
jne 0x670ab723
mov esi, dword [ebp + 8]
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x670ab789
cmp edx, dword [ebp - 0xa4]
mov ecx, edx
cmovl ecx, dword [ebp - 0xa4]
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.670abc30
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push esi
push dword [edi]
call ebx
test eax, eax
jne 0x670ab75f
mov esi, dword [ebp + 8]
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x670ab789
mov edx, dword [ebp - 0x9c]
cmp esi, 0x50
jne 0x670ab7b0
cmp word [edx], 0
jne 0x670ab7b0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [eax]
test eax, eax
je 0x670ab789
cmp eax, 0xffffffff
je 0x670ab789
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x670ab7a3
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_
jmp 0x670ab864
test edx, edx
jne 0x670ab7bb
mov eax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x670ab7df
xor eax, eax
cmp word [edx], ax
je 0x670ab7ca
inc eax
cmp word [edx + eax*2], 0
jne 0x670ab7c2
push 0
add eax, eax
lea ecx, [ebp + 0xc]
push 0
push eax
call fcn.671e2a80
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov ebx, 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
mov dword [esi], eax
mov eax, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
test eax, eax
je 0x670ab813
cmp eax, edi
je 0x670ab823
mov eax, edi
lock xadd dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null], eax
dec eax
setne al
test al, al
jne 0x670ab823
mov eax, dword [ebp + 0xc]
cmp eax, 0x674c7cb4
je 0x670ab823
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x670ab839
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x670ab856
cmp eax, 0xffffffff
je 0x670ab864
lock xadd dword [ecx], edi
dec edi
setne al
test al, al
jne 0x670ab864
cmp ecx, 0x674c7cb4
je 0x670ab864
push ecx
call ebx
add esp, 4
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