Function at 0x4506e0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450a8b
sub esp, 0x44
movzx eax, byte [0x1ae2c67]
test al, al
jne 0x45070d
movzx eax, byte [0x1ae2c68]
test al, al
je 0x450711
add esp, 0x44
ret
lea eax, [0x1ae2d54]
mov dword [esp], eax
call fcn.004068b0
mov eax, dword [esp + 4]
test eax, eax
ja 0x4508eb
movzx eax, byte [0x1ae2c57]
test al, al
je 0x45073a
xor eax, eax
jmp 0x450768
movzx eax, byte [0x1ae2c58]
test al, al
jne 0x450749
xor eax, eax
jmp 0x450768
lea eax, [0x1ae2d7c]
mov dword [esp], eax
call fcn.004068b0
mov eax, dword [esp + 4]
test eax, eax
jbe 0x450766
mov eax, 1
jmp 0x450768
xor eax, eax
mov ecx, dword [0x1aa5180]
mov edx, dword [0x1aa5184]
mov ebx, dword [0x1aa5194]
mov ebp, dword [0x1aa5188]
mov esi, dword [0x1aa5198]
sub ebp, esi
mov esi, ebp
sub ebp, ecx
sub ebp, edx
sub ebp, ebx
cmp eax, ebp
jl 0x4508e7
test ebp, ebp
jl 0x45097d
mov dword [esp + 0x14], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x450aa0]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.004458d0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450804
nop
nop
lea eax, [0x1aa5178]
mov dword [esp], eax
call fcn.0040f680
lea eax, [0xe87fe8]
mov dword [esp], eax
mov dword [esp + 4], 0x36
call fcn.00441e20
mov eax, dword [0x1ae2f98]
mov ecx, dword [0x1ae2f9c]
test eax, eax
setne al
test ecx, ecx
setne cl
or ecx, eax
test cl, cl
je 0x45084a
call fcn.00463cb0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp ecx, 0x7fffffff
setl dl
sete bl
cmp eax, 0xffffffff
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
jne 0x45085d
mov eax, dword [0x1aa04b0]
mov ecx, dword [0x1aa04b4]
xor edx, edx
jmp 0x45093c
mov dword [0x1ae2f98], eax
mov dword [0x1ae2f9c], ecx
call fcn.004526b0
mov eax, dword [esp + 8]
test eax, eax
je 0x450915
mov ecx, dword [0x1aa517c]
nop
test ecx, ecx
je 0x450899
mov edx, dword [ecx + 0xb4]
mov dword [0x1aa517c], edx
dec dword [0x1aa5180]
test ecx, ecx
je 0x4508ef
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
lea eax, [ecx + 0xac]
mov dword [esp + 0x34], eax
nop
lea edx, [0x1aa51ac]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004069b0
mov eax, dword [esp + 0x38]
mov byte [eax + 0x88], 1
mov ecx, dword [esp + 0x30]
nop
mov dword [eax + 0x5c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0040f780
add esp, 0x44
ret
add esp, 0x44
ret
add esp, 0x44
ret
nop
nop
lea eax, [0x1aa5178]
mov dword [esp], eax
call fcn.0040f680
lea eax, [0xe56948]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00441d50
nop
nop
lea eax, [0x1aa5178]
mov dword [esp], eax
call fcn.0040f680
lea eax, [0xe5692f]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00441d50
inc edx
cmp edx, ecx
jge 0x450953
mov ebx, dword [eax + edx*4]
test byte [ebx], al
mov ebx, dword [ebx + 0x11b0]
test ebx, ebx
je 0x45093b
add esp, 0x44
ret
nop
nop
lea eax, [0x1aa5178]
mov dword [esp], eax
call fcn.0040f680
lea eax, [0xe6d839]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.00441e20
add esp, 0x44
ret
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
call fcn.00443c40
lea eax, [0xe5a0b3]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004444b0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
sar ecx, 0x1f
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x20]
sar ebx, 0x1f
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x24]
sar esi, 0x1f
mov dword [esp + 0x18], esi
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004442d0
lea eax, [0xe45d70]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004444b0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004442d0
lea eax, [0xe3de67]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004444b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004442d0
lea eax, [0xe3c57a]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004444b0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.004442d0
call fcn.00443e50
call fcn.00443ca0
nop
nop
lea eax, [0x1aa5178]
mov dword [esp], eax
call fcn.0040f680
lea eax, [0xe5f5a8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00441d50
nop
call fcn.00479d50
jmp fcn.004506e0