Function at 0x100642c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2140
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100ff230]
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 0x10064572
nop dword [eax]
cmp esi, dword [edx + 4]
je 0x10064572
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064403
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 0x10064437
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x1006455d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10064551
mov eax, dword [esi]
jmp 0x10064551
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064441
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 0x1006445f
mov edx, dword [ebp - 0x14]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064469
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 0x10064487
mov edx, dword [ebp - 0x18]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064491
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 0x100644af
mov edx, dword [ebp - 0x1c]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100644b9
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 0x100644d4
mov edx, dword [ebp - 0x20]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100644de
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 0x100644f9
mov edx, dword [ebp - 0x24]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064503
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 8
push str.latitude
call fcn.10017040
add esp, 8
test al, al
je 0x1006451e
mov edx, dword [ebp - 0x28]
jmp 0x10064541
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10064528
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 9
push str.longitude
call fcn.10017040
add esp, 8
test al, al
je 0x1006455a
mov edx, dword [ebp - 0x2c]
cmp edx, esi
je 0x1006455a
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1006454f
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 0x100643f0
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