Function at 0x10064850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2840
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10100230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea edx, [ecx + 0x18]
mov dword [ebp - 4], 0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
mov byte [edx], 0
lea edx, [ecx + 0x30]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x18], edx
mov byte [edx], 0
lea edx, [ecx + 0x48]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x1c], edx
mov byte [edx], 0
lea edx, [ecx + 0x60]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x20], edx
mov byte [edx], 0
lea edx, [ecx + 0x78]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x24], edx
mov byte [edx], 0
lea edx, [ecx + 0x90]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x28], edx
mov byte [edx], 0
lea edx, [ecx + 0xa8]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x2c], edx
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 7
mov edi, dword [eax]
mov esi, dword [edx]
cmp edi, dword [eax + 4]
je 0x10064b02
nop dword [eax]
cmp esi, dword [edx + 4]
je 0x10064b02
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064993
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xc
push str.country_name
call fcn.10017040
add esp, 8
test al, al
je 0x100649c7
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x10064aed
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10064ae1
mov eax, dword [esi]
jmp 0x10064ae1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100649d1
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xb
push str.region_name
call fcn.10017040
add esp, 8
test al, al
je 0x100649ef
mov edx, dword [ebp - 0x14]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100649f9
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 9
push str.city_name
call fcn.10017040
add esp, 8
test al, al
je 0x10064a17
mov edx, dword [ebp - 0x18]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064a21
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xd
push str.district_name
call fcn.10017040
add esp, 8
test al, al
je 0x10064a3f
mov edx, dword [ebp - 0x1c]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064a49
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0x10
push str.china_admin_code
call fcn.10017040
add esp, 8
test al, al
je 0x10064a64
mov edx, dword [ebp - 0x20]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064a6e
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xf
push str.covering_radius
call fcn.10017040
add esp, 8
test al, al
je 0x10064a89
mov edx, dword [ebp - 0x24]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064a93
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 8
push str.latitude
call fcn.10017040
add esp, 8
test al, al
je 0x10064aae
mov edx, dword [ebp - 0x28]
jmp 0x10064ad1
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064ab8
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 9
push str.longitude
call fcn.10017040
add esp, 8
test al, al
je 0x10064aea
mov edx, dword [ebp - 0x2c]
cmp edx, esi
je 0x10064aea
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10064adf
mov eax, dword [esi]
mov ecx, edx
push dword [esi + 0x10]
push eax
call fcn.10008f60
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
add edi, 0x18
mov edx, dword [ebp + 8]
add esi, 0x18
cmp edi, dword [eax + 4]
jne 0x10064980
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8