Function at 0x453e08
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.00404d54
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x454109
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, 0x81f1a6
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 0x453e9a
push ebx
call fcn.0053e755
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x453eaa
push ebx
call fcn.0053e755
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 0x453ef1
push ebx
call fcn.0053e755
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 0x453f38
push ebx
call fcn.0053e755
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040316b
mov eax, 0
cmp eax, ecx
jl 0x453f68
push 0x2ca
push 0x401cdf4
push 1
call fcn.0053e761
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 0x453fba
push ebx
call fcn.0053e755
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040316b
mov eax, 0
cmp eax, ecx
jl 0x453fe4
push 0x36f
push 0x401cdf4
push 1
call fcn.0053e761
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 0x454036
push ebx
call fcn.0053e755
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040316b
mov eax, 0
cmp eax, ecx
jl 0x454060
push 0x415
push 0x401cdf4
push 1
call fcn.0053e761
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 0x4540b2
push ebx
call fcn.0053e755
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.004520d2
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x454109
push ebx
call fcn.0053e755
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x454119
push ebx
call fcn.0053e755
add esp, 4
mov esp, ebp
pop ebp
ret 0x24