Function at 0x454644
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0046af28
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x80b29d
push ebx
add ebx, 4
push ebx
push 8
call fcn.0046af28
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
mov eax, 0x5407a9
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4546bf
push ebx
call fcn.0046af22
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409f62
cmp dword [ebp - 8], 0
jne 0x454707
mov eax, 0x80b538
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4546fc
push ebx
call fcn.0046af22
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
jmp 0x454915
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x454764
push ebx
call fcn.0046af22
add esp, 4
push 0
push 0x19
push 1
mov eax, 0x80b1d8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xfc]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45479d
push ebx
call fcn.0046af22
add esp, 4
mov eax, str.Emulation.setGeolocationOverride
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, str.method
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd8]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4547d8
push ebx
call fcn.0046af22
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4547e8
push ebx
call fcn.0046af22
add esp, 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
mov eax, str.params.latitude
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45481d
push ebx
call fcn.0046af22
add esp, 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 1
mov eax, str.params.longitude
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x454852
push ebx
call fcn.0046af22
add esp, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push 1
mov eax, str.params.accuracy
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x454887
push ebx
call fcn.0046af22
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 1
push 1
push 1
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4548cf
push ebx
call fcn.0046af22
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0041cac7
mov ebx, eax
test ebx, ebx
je 0x4548f7
push ebx
call fcn.0046af22
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x454907
push ebx
call fcn.0046af22
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0046af22
add esp, 4
mov esp, ebp
pop ebp
ret 0x28