Function at 0x41fe66
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401e30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4201c6
push dword [ebp + 0xc]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x662757
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41fee3
push ebx
call fcn.004a9a7f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.Emulation.setGeolocationOverride
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41ff18
push ebx
call fcn.004a9a7f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.sessionId
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41ff4d
push ebx
call fcn.004a9a7f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.params
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41ff9e
push ebx
call fcn.004a9a7f
add esp, 4
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.accuracy
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41ffe0
push ebx
call fcn.004a9a7f
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401e49
mov eax, 0
cmp eax, ecx
jl 0x42000a
push 0x1aa
push 0x4070376
push 1
call fcn.004a9a8b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.latitude
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x420061
push ebx
call fcn.004a9a7f
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401e49
mov eax, 0
cmp eax, ecx
jl 0x42008b
push 0x1ff
push 0x4070376
push 1
call fcn.004a9a8b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.longitude
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4200e2
push ebx
call fcn.004a9a7f
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401e49
mov eax, 0
cmp eax, ecx
jl 0x42010c
push 0x255
push 0x4070376
push 1
call fcn.004a9a8b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x50]
push dword [ebp + 0x28]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 8
call fcn.004a9a85
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x662071
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x18]
push 1
lea eax, [ebp - 8]
push eax
call fcn.0041d955
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004a9a7f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4201c6
push ebx
call fcn.004a9a7f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4201d6
push ebx
call fcn.004a9a7f
add esp, 4
mov esp, ebp
pop ebp
ret 0x24