Function at 0x460680
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x460953
sub esp, 0x18
mov edx, dword [esp + 0x1c]
jmp 0x46069f
mov edx, eax
test byte [edx], al
mov ebx, dword [edx + 0x11b0]
test ebx, ebx
jbe 0x460949
mov eax, dword [edx + 0x11ac]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x460933
mov dword [esp + 0x10], eax
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp], ecx
call fcn.004068b0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x4607f4
cmp eax, 1
ja 0x460755
test eax, eax
je 0x4607fe
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setl bl
xchg esi, ebx
mov edi, dword [esp + 0x20]
cmp edi, ecx
setb bl
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x460913
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 2
call fcn.004068d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4608db
mov eax, dword [esp + 0x1c]
jmp 0x46069d
cmp eax, 2
je 0x46081f
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 4
call fcn.004068d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46078c
mov eax, dword [esp + 0x1c]
jmp 0x46069d
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0045f7b0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 5
call fcn.004068d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4607c2
call fcn.00461590
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x11bc]
nop
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00406a20
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x11b0]
test ecx, ecx
jne 0x46069d
jmp 0x46091f
cmp eax, 5
ja 0x46080c
cmp eax, 4
je 0x46081f
call fcn.00461590
mov eax, dword [esp + 0x1c]
jmp 0x46069d
cmp eax, 6
je 0x4608c4
cmp eax, 8
jbe 0x46083b
cmp eax, 9
jne 0x46082d
call fcn.00461590
mov eax, dword [esp + 0x1c]
jmp 0x46069d
call fcn.00461590
mov eax, dword [esp + 0x1c]
jmp 0x46069d
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 8], 9
call fcn.004068d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x460861
mov eax, dword [esp + 0x1c]
jmp 0x46069d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call fcn.0045f7b0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
call fcn.0045f160
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], 1
call fcn.004068d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4608bb
call fcn.00461590
mov eax, dword [esp + 0x1c]
jmp 0x46069d
lea eax, [0xe458dc]
mov dword [esp], eax
call fcn.00472b40
mov eax, dword [esp + 0x1c]
jmp 0x46069d
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.00460960
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
add esp, 0x18
ret
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
add esp, 0x18
ret
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
add esp, 0x18
ret
lea eax, [0xdd3a2e]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00440950
xor eax, eax
mov ecx, eax
call fcn.004740b0
nop
call fcn.004714f0
jmp fcn.00460680