Function at 0x6a4174
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6a4b30
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6a4b07
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, 0xafc8
call fcn.004027d4
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x1f0]
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
call fcn.0040619e
mov eax, dword [0x841c8c]
mov byte [eax], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov edx, 1
call fcn.004067fd
call fcn.00402898
mov eax, dword [0x841c8c]
mov byte [eax], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov ecx, 0xafc8
call fcn.00406240
call fcn.00402898
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
call fcn.00406308
call fcn.00402898
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov dword [edx - 0x15c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x15c]
jge 0x6a4af2
mov eax, dword [ebp + 8]
add eax, 0xfffffea0
call fcn.00403e74
jmp 0x6a42a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp byte [edx + eax], 0xd
je 0x6a42a2
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 8]
mov dl, byte [ecx + edx]
call fcn.00404018
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffea0
call fcn.004040f8
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x15c]
jge 0x6a42cb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp byte [edx + eax], 0xa
jne 0x6a4266
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4b4c
call fcn.004043d8
test eax, eax
jle 0x6a4340
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x164]
call fcn.0044c49c
test al, al
je 0x6a4340
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4b4c
call fcn.004043d8
mov edx, eax
add edx, 7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe9c
call fcn.00403f0c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4b5c
call fcn.004043d8
test eax, eax
jle 0x6a43c9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x164]
call fcn.0044c49c
test al, al
je 0x6a43c9
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4b5c
call fcn.004043d8
mov edx, eax
add edx, 6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe9c
call fcn.00403f0c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4b6c
call fcn.004043d8
test eax, eax
jle 0x6a4444
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4b6c
call fcn.004043d8
mov edx, eax
add edx, 0xa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.004040cc
lea edx, [ebp - 0x114]
mov eax, dword [ebp + 8]
add eax, 0xfffffe87
mov cl, 0x14
call fcn.00402d1c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4b80
call fcn.004043d8
test eax, eax
jle 0x6a44d3
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4b80
call fcn.004043d8
mov edx, eax
add edx, 0x19
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.004040cc
lea edx, [ebp - 0x114]
mov eax, dword [ebp + 8]
add eax, 0xfffffe87
mov cl, 0x14
call fcn.00402d1c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffea0
call fcn.00403f0c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4ba4
call fcn.004043d8
test eax, eax
jle 0x6a4569
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c4]
call fcn.0044c49c
test al, al
je 0x6a4569
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4ba4
call fcn.004043d8
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe3c
call fcn.00403f0c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4bb8
call fcn.004043d8
test eax, eax
jle 0x6a4636
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4bb8
call fcn.004043d8
mov edx, eax
add edx, 0x1e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe80
call fcn.00403f0c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x180]
call fcn.0044c3e0
fstp qword [ebp - 0xc]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c4]
call fcn.0044c49c
test al, al
je 0x6a4636
fld qword [ebp - 0xc]
fadd dword [0x6a4bd8]
fld xword [0x6a4bdc]
fmulp st(1)
call fcn.00402c98
lea edx, [ebp - 0x10]
call fcn.004094a8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe3c
call fcn.00403f0c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4bf0
call fcn.004043d8
test eax, eax
jle 0x6a46bf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c8]
call fcn.0044c49c
test al, al
je 0x6a46bf
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4bf0
call fcn.004043d8
mov edx, eax
add edx, 0x16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffe38
call fcn.00403f0c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c10
call fcn.004043d8
test eax, eax
jle 0x6a4738
mov eax, dword [ebp + 8]
fld qword [eax - 0x1d4]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a4738
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c10
call fcn.004043d8
mov edx, eax
add edx, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1d4]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c28
call fcn.004043d8
test eax, eax
jle 0x6a47b1
mov eax, dword [ebp + 8]
fld qword [eax - 0x1dc]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a47b1
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c28
call fcn.004043d8
mov edx, eax
add edx, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1dc]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c3c
call fcn.004043d8
test eax, eax
jle 0x6a482a
mov eax, dword [ebp + 8]
fld qword [eax - 0x1e4]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a482a
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c3c
call fcn.004043d8
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1e4]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c50
call fcn.004043d8
test eax, eax
jle 0x6a48a3
mov eax, dword [ebp + 8]
fld qword [eax - 0x1ec]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a48a3
push ebp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x160]
mov eax, 0x6a4c50
call fcn.004043d8
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.006a40d0
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1ec]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4c64
call fcn.004043d8
test eax, eax
jle 0x6a4930
mov eax, dword [ebp + 8]
fld qword [eax - 0x1d4]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a4930
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4c88
call fcn.004043d8
mov edx, eax
add edx, 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1d4]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4c9c
call fcn.004043d8
test eax, eax
jle 0x6a49bd
mov eax, dword [ebp + 8]
fld qword [eax - 0x1dc]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a49bd
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4c88
call fcn.004043d8
mov edx, eax
add edx, 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1dc]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4cc0
call fcn.004043d8
test eax, eax
jle 0x6a4a4a
mov eax, dword [ebp + 8]
fld qword [eax - 0x1e4]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a4a4a
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4c88
call fcn.004043d8
mov edx, eax
add edx, 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1e4]
wait
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x10]
mov eax, 0x6a4ce4
call fcn.004043d8
test eax, eax
jle 0x6a4ad7
mov eax, dword [ebp + 8]
fld qword [eax - 0x1ec]
fcomp dword [0x6a4c1c]
fnstsw ax
sahf
jne 0x6a4ad7
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
call fcn.00408fa8
mov edx, dword [ebp - 0x14]
mov eax, 0x6a4c88
call fcn.004043d8
mov edx, eax
add edx, 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x160]
mov ecx, 0xfa
call fcn.004042f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044c290
mov eax, dword [ebp - 0x10]
call fcn.0044c3e0
mov eax, dword [ebp + 8]
fstp qword [eax - 0x1ec]
wait
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x15c]
jl 0x6a4257
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.004027ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a4b15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4b37
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403e98
ret