Function at 0x670a91d0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xffffffffffffffff
push 0x6728e080
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp + 0x28], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
mov dword [ebp + 8], esi
sub eax, 0
je 0x670a940e
sub eax, 1
je 0x670a93a3
sub eax, 1
jne 0x670a9288
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x98], 0x40
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0x40
push 0x40
push eax
push 0x1008
mov dword [ebp - 4], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x670a9307
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x670a92c3
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
cmp eax, ecx
je 0x670a9288
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esi + 8]
and eax, 0xc0000000
mov dword [esi], 0
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x28]
xor ecx, ebp
call fcn.67284a63
lea esp, [ebp + 0x2c]
pop ebp
ret 8
mov eax, 0xff
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x9c], eax
cmovg eax, dword [ebp - 0x9c]
push eax
push 0xff
call fcn.670abc30
push dword [ebp - 0x98]
push dword [ebp - 0x94]
push 0x1008
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x670a926e
push 0xffffffffffffffff
push dword [ebp - 0x94]
lea eax, [ebp + 4]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, eax
add esp, 0xc
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 [ecx]
mov dword [esi], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x670a9347
cmp ecx, 0xffffffff
je 0x670a9347
lock inc dword [eax]
mov eax, dword [ebp + 4]
and dword [esi + 8], 0xbfffffff
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [eax]
test eax, eax
je 0x670a9374
cmp eax, 0xffffffff
je 0x670a9384
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670a9384
mov eax, dword [ebp + 4]
cmp eax, 0x674c7cb4
je 0x670a9384
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
cmp eax, ecx
je 0x670a92a3
push eax
call edi
add esp, 4
jmp 0x670a92a3
push 0xd
lea eax, [ebp + 0xc]
push eax
push 0x14
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x670a9288
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [esi + 8]
add esp, 0xc
and ecx, 0xc000000a
or ecx, 0xa
and ecx, 0xbfffffff
and ecx, 0x7fffffff
mov dword [esi + 8], ecx
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x670a93fa
cmp ecx, 0xffffffff
je 0x670a93fa
lock inc dword [eax]
and dword [esi + 8], 0xbfffffff
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x670a92a3
push 9
lea eax, [ebp + 0xc]
push eax
push 0x15
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x670a9288
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [esi + 8]
add esp, 0xc
and ecx, 0xc000000a
or ecx, 0xa
and ecx, 0xbfffffff
and ecx, 0x7fffffff
mov dword [esi + 8], ecx
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x670a9465
cmp ecx, 0xffffffff
je 0x670a9465
lock inc dword [eax]
and dword [esi + 8], 0xbfffffff
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x670a92a3