Function at 0x485520
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48581d
sub esp, 0x3c
mov eax, dword [esp + 0x48]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x14
jne 0x4855e8
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x54]
cmp dword [eax + 0x28], edx
jbe 0x485804
mov dword [esp + 0x34], ecx
lea ebx, [ecx + edx*8]
mov ebx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0043f6d0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x48579a
mov edx, dword [esp + 0x4c]
mov edx, dword [edx]
test edx, edx
je 0x485730
mov ebx, dword [edx + 4]
mov eax, dword [esp + 0x54]
cmp eax, 0x186a0
jae 0x485726
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0043f710
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax*4 + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
add esp, 0x3c
ret
mov dword [esp], eax
call fcn.0047eb00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 8], ecx
jbe 0x48570e
shl ecx, 4
mov edx, dword [eax + ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [eax + ecx + 8]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043f6d0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x4856a4
lea eax, [0x776d60]
mov dword [esp], eax
call fcn.0040a9b0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.0043f750
mov eax, dword [0xb53500]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x485697
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0043f710
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
jmp 0x4855d8
mov edi, dword [esp + 0x38]
mov eax, ecx
call fcn.00459620
jmp 0x485672
mov dword [esp], 0
lea eax, [0x7e52d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [0x7edac9]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.00446c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
lea ecx, [0x776aa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430590
lea eax, [0x776aa0]
mov dword [esp], eax
lea eax, [0x873ae8]
mov dword [esp + 4], eax
call fcn.00430590
mov ecx, 0x186a0
call fcn.004596a0
mov dword [esp], 0
lea eax, [0x7e52d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [0x7f5ed6]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x21
call fcn.00446c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
lea ecx, [0x776aa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430590
mov dword [esp], 0
lea eax, [0x7e52d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [0x7edac9]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.00446c00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408290
mov eax, dword [esp + 8]
lea ecx, [0x776aa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430590
lea eax, [0x776aa0]
mov dword [esp], eax
lea eax, [0x873ad8]
mov dword [esp + 4], eax
call fcn.00430590
nop
call fcn.00457de0
jmp fcn.00485520