Function at 0x474dd0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x14670ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x475072
sub esp, 0x2c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x474dfb
mov ecx, dword [esp + 0x30]
lea edx, [0x13d98a0]
jmp 0x474e0d
mov dword [esp + 0x38], 0
add esp, 0x2c
ret
mov edx, dword [edx + 0x120]
test edx, edx
je 0x474e38
mov ebx, dword [edx + 0x94]
cmp ecx, ebx
jb 0x474e07
mov ebp, dword [edx + 0x98]
cmp ecx, ebp
jae 0x474e07
lea ecx, [ebx + eax]
cmp ebp, ecx
jb 0x474fc7
mov dword [esp + 0x38], ecx
add esp, 0x2c
ret
mov dword [esp + 0x1c], ecx
nop
nop
nop
lea eax, [0x1445e30]
mov dword [esp], eax
call fcn.0040de00
mov eax, dword [0x1445e38]
lea ecx, [0xc71f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.0046cfb0
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, [0x1445e30]
mov dword [esp], edx
call fcn.0040e020
movzx eax, byte [esp + 0x17]
test al, al
jne 0x474f18
call fcn.0043bf20
lea eax, [0xd57356]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043c780
mov eax, dword [esp + 0x34]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043c610
lea eax, [0xd477cb]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043c780
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
lea eax, [0xd5605a]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043c780
call fcn.0043bf80
lea eax, [0x13d98a0]
jmp 0x474fa9
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.0043bf20
lea eax, [0xd4b069]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043c780
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
lea eax, [0xd4c6dc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043c780
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
call fcn.0043c120
call fcn.0043bf80
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x474f24
lea eax, [0xd78a2b]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.0046ffd0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
call fcn.0043bf20
lea eax, [0xd57356]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043c780
mov eax, dword [esp + 0x34]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043c610
lea eax, [0xd53db4]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043c780
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
lea eax, [0xd40e34]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043c780
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
call fcn.0043c120
call fcn.0043bf80
lea eax, [0xd6b715]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0046ffd0
nop
call fcn.00475a70
jmp fcn.00474dd0