Function at 0x474a60
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1898054]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x474d02
sub esp, 0x2c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x474a8b
mov ecx, dword [esp + 0x30]
lea edx, [0x1776120]
jmp 0x474a9d
mov dword [esp + 0x38], 0
add esp, 0x2c
ret
mov edx, dword [edx + 0x120]
test edx, edx
je 0x474ac8
mov ebx, dword [edx + 0x94]
cmp ecx, ebx
jb 0x474a97
mov ebp, dword [edx + 0x98]
cmp ecx, ebp
jae 0x474a97
lea ecx, [ebx + eax]
cmp ebp, ecx
jb 0x474c57
mov dword [esp + 0x38], ecx
add esp, 0x2c
ret
mov dword [esp + 0x1c], ecx
nop
nop
nop
lea eax, [0x1876ef0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [0x1876ef8]
lea ecx, [0xd96b00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.0046d110
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
nop
nop
nop
lea edx, [0x1876ef0]
mov dword [esp], edx
call fcn.0040e0c0
movzx eax, byte [esp + 0x17]
test al, al
jne 0x474ba8
call fcn.0043c2c0
lea eax, [0xea899a]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043cb20
mov eax, dword [esp + 0x34]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043c9b0
lea eax, [0xe970b1]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043cb20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c9b0
lea eax, [0xea7364]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043cb20
call fcn.0043c320
lea eax, [0x1776120]
jmp 0x474c39
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
add esp, 0x2c
ret
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x20], edx
call fcn.0043c2c0
lea eax, [0xe9a987]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043cb20
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c9b0
lea eax, [0xe9c2eb]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043cb20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c9b0
call fcn.0043c4c0
call fcn.0043c320
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x474bb4
lea eax, [0xee51f0]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.0046fe20
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
call fcn.0043c2c0
lea eax, [0xea899a]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043cb20
mov eax, dword [esp + 0x34]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043c9b0
lea eax, [0xea46f4]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043cb20
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c9b0
lea eax, [0xe90958]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043cb20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c9b0
call fcn.0043c4c0
call fcn.0043c320
lea eax, [0xec4225]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0046fe20
nop
call fcn.00475700
jmp fcn.00474a60