Function at 0x670aac10
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x6728e327
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x18], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], 1
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
push 0xff
lea ecx, [ebp]
mov dword [ebp - 4], 1
push ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
or ebx, 0xffffffff
test eax, eax
je 0x670aad54
xor eax, eax
cmp word [ebp], ax
je 0x670aacac
inc eax
cmp word [ebp + eax*2], 0
jne 0x670aaca3
push 0
add eax, eax
lea edx, [ebp]
push 0
push eax
lea ecx, [ebp - 0x24]
call fcn.671e2a80
add esp, 0xc
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], 1
mov eax, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov dword [ebp - 0x24], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x1c], 0x19
test eax, eax
je 0x670aacf9
cmp eax, 0xffffffff
je 0x670aad0d
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 0x670aad0d
mov eax, dword [ebp - 0x24]
cmp eax, 0x674c7cb4
je 0x670aad0d
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x670aad44
cmp eax, 0xffffffff
je 0x670aad3c
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 0x670aad3c
mov eax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
cmp eax, 0x674c7cb4
jne 0x670aad44
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x670aad54
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call esi
add esp, 4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x670aade8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toLatin1_helper_inplace_class_QString__
or dword [ebp - 0x1c], 0x40
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x11]
push eax
push 0x10
call fcn.67085a60
add esp, 0x10
mov ecx, eax
cmp byte [ebp - 0x11], 0
je 0x670aadb5
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x670aadb5
cmp ecx, 0x814
jne 0x670aadb5
push 0x673f4608
push 2
mov ecx, edi
call fcn.67093570
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x670aadd8
cmp eax, 0xffffffff
je 0x670aade8
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670aade8
mov eax, dword [ebp - 0x20]
cmp eax, 0x674c7cb4
je 0x670aade8
push eax
call esi
add esp, 4
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x670aae27
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x670aae15
cmp eax, 0xffffffff
je 0x670aaeb2
lock xadd dword [ecx], ebx
dec ebx
setne dl
test dl, dl
jne 0x670aaeb2
cmp ecx, 0x674c7cb4
je 0x670aaeb2
push ecx
jmp 0x670aaead
push 0xff
lea eax, [ebp]
push eax
push 0x59
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x670aae88
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x670aae78
cmp eax, 0xffffffff
je 0x670aae88
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670aae88
mov eax, dword [ebp - 0x18]
cmp eax, 0x674c7cb4
je 0x670aae88
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 0x670aaea5
cmp ecx, 0xffffffff
je 0x670aaeb2
lock xadd dword [eax], ebx
dec ebx
setne cl
test cl, cl
jne 0x670aaeb2
cmp eax, 0x674c7cb4
je 0x670aaeb2
push eax
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 ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.67284a63
lea esp, [ebp + 0x204]
pop ebp
ret