Function at 0x10016f30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100929c7
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
mov dword [ebp - 0x14c], 0
call fcn.1006a580
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x104
push eax
lea eax, [ebp - 0x114]
push eax
push 0x40
push str.aHR0cDovL2t5cG9zaXRpb24uZGZ0b3V0aWFvLmNvbS9wb3NpdGlvbi9nZXQwMg
call fcn.10007540
add esp, 0x1c
mov dword [ebp - 0x130], 0xf
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
push 0
push 0x100ab692
call fcn.10005c10
cmp byte [ebp - 0x114], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x10017001
xor ecx, ecx
jmp 0x10017019
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017010
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10005c10
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1000f6b0
mov bl, al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x118]
add esp, 8
cmp eax, 0x10
jb 0x1001706a
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10005ac0
test bl, bl
je 0x10017214
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.10001660
add esp, 8
mov edi, eax
lea eax, [ebp - 0x144]
cmp eax, edi
je 0x100170e7
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x100170c0
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.10005ac0
push edi
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.10005360
mov eax, dword [ebp - 0x150]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10017109
inc eax
lea ecx, [ebp - 0x164]
push eax
push dword [ebp - 0x164]
call fcn.10005ac0
push 0xb
push str.cityname_:_
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.10005c10
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
mov byte [ebp - 4], 3
call fcn.10002800
mov edi, eax
cmp edi, 0xffffffff
je 0x100171f6
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x144]
push 1
add eax, edi
push eax
push 0x100ab538
call fcn.10002800
mov ecx, eax
mov eax, dword [ebp - 0x11c]
cmp ecx, 0xffffffff
cmove ecx, dword [ebp - 0x134]
sub ecx, eax
add eax, edi
sub ecx, edi
push ecx
push eax
push esi
lea ecx, [ebp - 0x144]
call fcn.10001f70
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x100171cc
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10005ac0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp ecx, 0x10
jb 0x10017243
inc ecx
push ecx
jmp 0x10017232
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x10017214
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10005ac0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x10017243
inc eax
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call fcn.10005ac0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret 4