Function at 0x42edc8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00414b45
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x42f0c9
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.Emulation.setGeolocationOverride
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x69ff90
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42ee5a
push ebx
call fcn.005285f9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42ee6a
push ebx
call fcn.005285f9
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x14]
mov eax, str.sessionId
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42eeb1
push ebx
call fcn.005285f9
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.params
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe4]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42eef8
push ebx
call fcn.005285f9
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00405710
mov eax, 0
cmp eax, ecx
jl 0x42ef28
push 0x2ca
push 0x402dd29
push 1
call fcn.00528605
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.accuracy
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42ef7a
push ebx
call fcn.005285f9
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00405710
mov eax, 0
cmp eax, ecx
jl 0x42efa4
push 0x36f
push 0x402dd29
push 1
call fcn.00528605
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.latitude
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42eff6
push ebx
call fcn.005285f9
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00405710
mov eax, 0
cmp eax, ecx
jl 0x42f020
push 0x415
push 0x402dd29
push 1
call fcn.00528605
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.longitude
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42f072
push ebx
call fcn.005285f9
add esp, 4
push dword [ebp + 0x28]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.0042b807
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42f0c9
push ebx
call fcn.005285f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42f0d9
push ebx
call fcn.005285f9
add esp, 4
mov esp, ebp
pop ebp
ret 0x24