Function at 0x4cded0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x51f558
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
cmp dword [eax + 8], edi
jne 0x4cdf28
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push str.locale
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const___int_]
add esp, 0xc
mov dword [esp + 0x24], edi
lea ebx, [edi + 1]
jmp 0x4cdf40
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
mov dword [esp + 0x24], 1
mov ebx, 2
mov ebp, dword [esp + 0x2c]
push eax
mov ecx, ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamWriter::writeStartElement_class_QString_const__]
mov dword [esp + 0x24], edi
test bl, 2
je 0x4cdf7c
mov eax, dword [esp + 0x30]
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cdf7c
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov dword [esp + 0x24], 0xffffffff
test bl, 1
je 0x4cdfa4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cdfa4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
cmp byte [esi + 8], 0
mov edi, dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamWriter::writeAttribute_class_QString_const___class_QString_const__]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
je 0x4ce02c
push 0xffffffffffffffff
push 0x54dc84
call ebx
add esp, 8
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 2
call fcn.004c9d60
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov byte [esp + 0x2c], 3
call edi
mov edx, dword [esp + 0x18]
mov byte [esp + 0x24], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ce009
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ce02c
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
cmp byte [esi + 0x10], 0
je 0x4ce0a8
push 0xffffffffffffffff
push 0x54dc7c
call ebx
add esp, 8
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x14]
mov ebx, 4
push edx
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.004c9dc0
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 5
call edi
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x24], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ce085
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ce0a8
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esi]
cmp dword [ecx + 8], 0
je 0x4ce0b9
push esi
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamWriter::writeCharacters_class_QString_const__]
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamWriter::writeEndElement_void_]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8