Function at 0x454bc1
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.00402345
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x454ec2
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, 0x7c2232
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 0x454c53
push ebx
call fcn.00535b7b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x454c63
push ebx
call fcn.00535b7b
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 0x454caa
push ebx
call fcn.00535b7b
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 0x454cf1
push ebx
call fcn.00535b7b
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040235e
mov eax, 0
cmp eax, ecx
jl 0x454d21
push 0x2ca
push 0x4030384
push 1
call fcn.00535b87
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 0x454d73
push ebx
call fcn.00535b7b
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040235e
mov eax, 0
cmp eax, ecx
jl 0x454d9d
push 0x36f
push 0x4030384
push 1
call fcn.00535b87
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 0x454def
push ebx
call fcn.00535b7b
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040235e
mov eax, 0
cmp eax, ecx
jl 0x454e19
push 0x415
push 0x4030384
push 1
call fcn.00535b87
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 0x454e6b
push ebx
call fcn.00535b7b
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.0042afa1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x454ec2
push ebx
call fcn.00535b7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x454ed2
push ebx
call fcn.00535b7b
add esp, 4
mov esp, ebp
pop ebp
ret 0x24