Function at 0xa317f0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0xad552d
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x174]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esp + 0x24], eax
sub eax, dword [ebp + 0x178]
mov dword [esp + 0x28], edx
sbb edx, dword [ebp + 0x17c]
mov dword [esp + 0x30], edx
jne 0xa3185d
cmp eax, 0x249f0
jb 0xa319d0
lea eax, [esp + 0x8c]
push eax
call fcn.00a12a20
xor edi, edi
mov dword [esp + 0x16c], edi
fldz
fst qword [ebp + 0x168]
mov dword [esp + 0xc8], 5
fstp qword [ebp + 0x170]
mov dword [esp + 0x2c], edi
lea ebx, [edi + 0x10]
lea eax, [esp + 0x8c]
call fcn.00a12b10
test al, al
je 0xa3196d
lea esi, [esp + 0x70]
lea eax, [esp + 0x8c]
call fcn.00a331f0
and dword [esp + 0x1c], 0xfffffe00
mov dword [esp + 0x20], edi
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x170], 3
call fcn.00a1cc30
push 0xffffffffffffffff
push edi
mov edx, esi
push edx
lea ecx, [esp + 0x118]
mov byte [esp + 0x178], 4
call fcn.00a11650
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], ebx
jae 0xa31909
lea eax, [esp + 0x110]
mov ecx, dword [esp + 0x120]
push 1
lea edx, [esp + 0x18]
push edx
add ecx, eax
push ecx
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00a1cd20
test al, al
jne 0xa319fa
lea edi, [esp + 0xcc]
call fcn.00a31be0
lea eax, [esp + 0x14]
mov byte [esp + 0x16c], 1
call fcn.00a26100
mov byte [esp + 0x16c], 0
cmp dword [esp + 0x88], ebx
jb 0xa3196b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00a7ac28
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 4
mov dword [esp + 0x2c], eax
jl 0xa31893
call fcn.00a977c0
cmp dword [esp + 0xc0], ebx
jb 0xa3199d
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00a7ac28
add esp, 4
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
cmp dword [esp + 0xa4], ebx
jb 0xa319d0
mov edx, dword [esp + 0x90]
push edx
call fcn.00a7ac28
add esp, 4
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00a7a967
add esp, 0x15c
ret 4
push str.location
lea edx, [esp + 0x18]
push edx
mov ecx, 0xaebb20
call fcn.00a271f0
push str.longitude
push eax
mov ecx, 0xaebb2d
call fcn.00a271f0
push eax
lea ecx, [esp + 0x58]
call fcn.00a26320
mov byte [esp + 0x16c], 5
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0xa31a3e
lea eax, [esp + 0x58]
push eax
call fcn.00a7dcdc
fstp qword [ebp + 0x168]
add esp, 4
push str.location
lea eax, [esp + 0x18]
push eax
mov ecx, 0xaebb20
call fcn.00a271f0
push str.latitude
push eax
mov ecx, 0xaebb38
call fcn.00a271f0
push eax
lea ecx, [esp + 0x3c]
call fcn.00a26320
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x178], 6
call fcn.00a11650
mov byte [esp + 0x16c], 5
cmp dword [esp + 0x50], ebx
jb 0xa31aab
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00a7ac28
add esp, 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0xa31ab9
lea eax, [esp + 0x58]
push eax
call fcn.00a7dcdc
fstp qword [ebp + 0x170]
add esp, 4
push 0xaebb3c
lea edx, [esp + 0x18]
push edx
mov ecx, 0xaebb3e
call fcn.00a271f0
push eax
lea ecx, [esp + 0x3c]
call fcn.00a26320
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x14c]
mov byte [esp + 0x178], 7
call fcn.00a11650
cmp dword [esp + 0x50], ebx
jb 0xa31b10
mov eax, dword [esp + 0x3c]
push eax
call fcn.00a7ac28
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x178], ecx
mov dword [ebp + 0x17c], edx
cmp dword [esp + 0x6c], ebx
jb 0xa31b37
mov eax, dword [esp + 0x58]
push eax
call fcn.00a7ac28
add esp, 4
mov dword [esp + 0x68], edi
mov esi, 0xf
lea edi, [esp + 0xcc]
mov dword [esp + 0x6c], esi
mov byte [esp + 0x58], 0
call fcn.00a31be0
lea eax, [esp + 0x14]
mov byte [esp + 0x16c], 1
call fcn.00a26100
cmp dword [esp + 0x88], ebx
jb 0xa31b7c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00a7ac28
add esp, 4
xor edi, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
call fcn.00a977c0
cmp dword [esp + 0xc0], ebx
jb 0xa31baf
mov edx, dword [esp + 0xac]
push edx
call fcn.00a7ac28
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
cmp dword [esp + 0xa4], ebx
jb 0xa319d0
mov eax, dword [esp + 0x90]
push eax
jmp 0xa319c8